it helps if we tell the bot we can start

This commit is contained in:
James Scott 2012-12-13 20:49:36 -05:00
parent 58e1eeda05
commit bd4d0f1bda
1 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,8 @@ class Cah(callbacks.Plugin):
irc.reply("Added, Spots left %d" % (game['maxPlayers'] - len(game['players']),))
else:
irc.reply("Too many players")
if len(game['players']) > 1:
game['canStart'] = True
except KeyError as e:
print e
irc.reply("Game not running.")