fixed a bug where wolfbot crashes (from implementing the auto-game-over when seer/wolf are idle first round)

This commit is contained in:
Jimmy Cao 2011-07-19 22:23:54 -05:00
parent d1d05c1eb6
commit 2912b23056

View File

@ -874,6 +874,7 @@ def transition_day(cli, gameid=0):
for x in (var.ROLES["wolf"][0],var.ROLES["seer"][0]):
del_player(cli, x) # kill them.
chk_win(cli) # force to end
return
# Reset daytime variables
var.VOTES = {}