From dfe6e26b9205dd9867293e51f19e2d0f07f5d279 Mon Sep 17 00:00:00 2001 From: jcao219 Date: Mon, 18 Jul 2011 13:02:12 -0500 Subject: [PATCH] fixed error with fleave caused by recent changes to the idler-killer --- wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfgame.py b/wolfgame.py index 3110cc5..ea08e3e 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -258,6 +258,7 @@ def join(cli, nick, chan, rest): var.ROLES["person"].append(nick) var.PHASE = "join" var.WAITED = 0 + var.GAME_ID = timetime() var.CAN_START_TIME = datetime.now() + timedelta(seconds=var.MINIMUM_WAIT) cli.msg(chan, ('\u0002{0}\u0002 has started a game of Werewolf. '+ 'Type "{1}join" to join. Type "{1}start" to start the game. '+ @@ -1670,7 +1671,6 @@ def start(cli, nick, chan, rest): transition_day(cli) # DEATH TO IDLERS! - var.GAME_ID = timetime() reapertimer = threading.Thread(None, reaper, args=(cli,var.GAME_ID)) reapertimer.daemon = True reapertimer.start()