Skip to content

Commit

Permalink
But the time I coded that check was not one of them
Browse files Browse the repository at this point in the history
  • Loading branch information
skizzerz committed Nov 8, 2023
1 parent f51e11a commit f99136f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gamemodes/pactbreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def on_chk_win(self, evt: Event, var: GameState, rolemap, mainroles, lpl, lwolve
evt.data["message"] = messages["pactbreaker_vigilante_win"]
elif evt.data["winner"] in ("wolves", "vampires"):
# This isn't a win unless all vigilantes are dead
if num_vigilantes == 0:
if num_vigilantes > 0:
evt.data["winner"] = None
else:
# All vigilantes are dead, so this is an actual win
Expand Down

0 comments on commit f99136f

Please sign in to comment.