From 41efc75f2629d5c1249028a1f0155aa509596a6f Mon Sep 17 00:00:00 2001 From: jcao219 Date: Tue, 9 Aug 2011 17:32:21 -0500 Subject: [PATCH] fixed issue 15 --- wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfgame.py b/wolfgame.py index 17e8e10..430f6eb 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -1936,7 +1936,7 @@ def start(cli, nick, chan, rest): possible.remove(csd) for gnr in random.sample(possible, len(var.ROLES["gunner"])): - if var.ROLES["village drunk"] == gnr: + if gnr in var.ROLES["village drunk"]: var.GUNNERS[gnr] = (var.DRUNK_SHOTS_MULTIPLIER * math.ceil(var.SHOTS_MULTIPLIER * len(pl))) else: