From d2687df7532d420f4e0cb3fdd03f6b8e9ea3931c Mon Sep 17 00:00:00 2001 From: jcao219 Date: Tue, 19 Jul 2011 22:23:54 -0500 Subject: [PATCH] fixed a bug where wolfbot crashes (from implementing the auto-game-over when seer/wolf are idle first round) --- wolfgame.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wolfgame.py b/wolfgame.py index 242b878..5b86214 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -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 = {}