Browse Source

fixed a bug that happens if all the wolves/seers don't act at all in a large game

master
jcao219 13 years ago
parent
commit
50cbc11f8d
  1. 5
      wolfgame.py

5
wolfgame.py

@ -909,9 +909,8 @@ def transition_day(cli, gameid=0): @@ -909,9 +909,8 @@ def transition_day(cli, gameid=0):
"were both found dead in their beds.").format(var.ROLES["wolf"][0],
var.ROLES["seer"][0]))
for x in (var.ROLES["wolf"][0],var.ROLES["seer"][0]):
del_player(cli, x, True) # kill them.
chk_win(cli) # force to end
return
if not del_player(cli, x, True):
return
# Reset daytime variables
var.VOTES = {}

Loading…
Cancel
Save