From 50cbc11f8d6b9b7d1aa4af30ac4cafe68f840028 Mon Sep 17 00:00:00 2001 From: jcao219 Date: Wed, 27 Jul 2011 08:20:44 -0500 Subject: [PATCH] fixed a bug that happens if all the wolves/seers don't act at all in a large game --- wolfgame.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wolfgame.py b/wolfgame.py index 63c068e..1d022cb 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -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 = {}