Browse Source

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

master
jcao219 14 years ago
parent
commit
d2687df753
  1. 1
      wolfgame.py

1
wolfgame.py

@ -874,6 +874,7 @@ def transition_day(cli, gameid=0): @@ -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 = {}

Loading…
Cancel
Save