Fix the game state not being cleared correctly if an incorrect preset was used
This commit is contained in:
parent
2f8fb69dbf
commit
380c095447
|
@ -477,6 +477,8 @@ def game(send, notice, voice, devoice, get_event):
|
||||||
|
|
||||||
else:
|
else:
|
||||||
send('Stopping game')
|
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:
|
elif event == events.join:
|
||||||
send('Start a game with !start [<preset>]')
|
send('Start a game with !start [<preset>]')
|
||||||
|
|
Loading…
Reference in New Issue