From 457f2b8dc6ab210fae1bc687b916a62ff722c256 Mon Sep 17 00:00:00 2001 From: jcao219 Date: Tue, 3 Jul 2012 20:07:39 -0500 Subject: [PATCH] when it's enabled that the gunner can kill the wolf at night, make sure that the message the next day shows the wolf's real role --- modules/wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 386aa37..2362945 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -1326,7 +1326,7 @@ def transition_day(cli, gameid=0): # don't kill off werecrows that observed deadwolf = random.choice(var.ROLES["wolf"]+wc) message.append(("Fortunately, the victim, \02{0}\02, had bullets, and "+ - "\02{1}\02, a \02wolf\02, was shot dead.").format(victim, deadwolf)) + "\02{1}\02, a \02{2}\02, was shot dead.").format(victim, deadwolf, var.get_role(deadwolf))) var.LOGGER.logBare(deadwolf, "KILLEDBYGUNNER") dead.append(deadwolf) if victim in var.HVISITED.values(): # victim was visited by some harlot