From 09aec169097ccbb0ea239bf877cfda8080cad06a Mon Sep 17 00:00:00 2001 From: jcao219 Date: Wed, 27 Jul 2011 20:29:49 -0500 Subject: [PATCH] now the gunner still dies if he shot the wolf --- wolfgame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfgame.py b/wolfgame.py index afb653d..b1f8ca3 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -974,8 +974,8 @@ def transition_day(cli, gameid=0): message.append(("The wolves made the fortunate mistake of attacking "+ "a gunner last night, and \u0002{0}\u0002, a \u0002wolf\u0002,"+ " was shot dead.").format(deadwolf)) - dead.append(deadwolf) - var.VICTIM = "" + if not del_player(cli, deadwolf): + return if var.VICTIM and (var.VICTIM not in var.ROLES["harlot"] or # not a harlot not var.HVISITED.get(var.VICTIM)): # harlot stayed home message.append(("The dead body of \u0002{0}\u0002, a "+