From 02b7ed873e67332d4a2b1f5810bfb4ccb8f77dff Mon Sep 17 00:00:00 2001 From: jcao219 Date: Mon, 8 Aug 2011 16:15:39 -0500 Subject: [PATCH] fixed bug that allowed gunner to be pm'd after death --- wolfgame.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wolfgame.py b/wolfgame.py index 7e7ca5a..9d37e03 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -1780,6 +1780,10 @@ def transition_night(cli): cli.msg(d, 'You have been drinking too much! You are the \u0002village drunk\u0002.') for g in tuple(var.GUNNERS.keys()): + if not var.FIRST_NIGHT: + break + if g not in ps: + continue gun_msg = ("You hold a gun that shoots special silver bullets. You may only use it "+ "during the day. If you shoot a wolf, (s)he will die instantly, but if you "+ "shoot a villager, that villager will likely survive. You get {0}.")