Fix the game state not being cleared correctly if an incorrect preset was used

This commit is contained in:
Juhani Krekelä 2019-12-11 22:13:06 +02:00
parent 2f8fb69dbf
commit 380c095447
1 changed files with 2 additions and 0 deletions

View File

@ -477,6 +477,8 @@ def game(send, notice, voice, devoice, get_event):
else:
send('Stopping game')
# If we don't do this, the partially started game state doesn't get cleared off correctly
return no_game
elif event == events.join:
send('Start a game with !start [<preset>]')