forked from nortti/tea_cah
Handle !start <preset> gracefully in game_setup
This commit is contained in:
parent
819803d998
commit
996a25cf45
|
@ -381,7 +381,10 @@ def game(send, notice, voice, devoice, get_event):
|
|||
send('Game setup, waiting for %s to be ready' % ', '.join(i.nick for i in players_unready))
|
||||
|
||||
elif event == events.start:
|
||||
break
|
||||
if len(args) == 1:
|
||||
break
|
||||
else:
|
||||
send('Can\'t apply presets once the game setup has started. Here !start begins the game without waiting for !ready')
|
||||
|
||||
elif event == events.ready:
|
||||
nick, = args
|
||||
|
|
Loading…
Reference in New Issue