fix neutral roles winning when villagers win
This commit is contained in:
parent
e67b48a37c
commit
8a0919d7c1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user