From 8a0919d7c18587e5b0f57939eca0768ec7794263 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 13 May 2018 23:56:47 -0400 Subject: [PATCH] fix neutral roles winning when villagers win --- src/wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index 7202433..d6b4e5c 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -2086,7 +2086,7 @@ def stop_game(var, winner="", abort=False, additional_winners=None, log=True): if winner == "wolves": won = True iwon = plr in survived - elif role not in var.TRUE_NEUTRAL_ROLES and winner == "villagers": + elif rol not in var.TRUE_NEUTRAL_ROLES and winner == "villagers": won = True iwon = plr in survived # true neutral roles are handled via the event below