Fix wolf cub not turning into wolf
This commit is contained in:
parent
4d000d1857
commit
b28d67a877
@ -1213,7 +1213,7 @@ def chk_win(cli, end_game = True):
|
||||
message = ("Game over! There are more wolves than "+
|
||||
"uninjured villagers. The wolves overpower the villagers and win.")
|
||||
winner = "wolves"
|
||||
elif lrealwolves == 0 and len(var.ROLES["traitor"]) == 0:
|
||||
elif lrealwolves == 0 and len(var.ROLES["traitor"]) == 0 and len(var.ROLES["wolf cub"]) == 0:
|
||||
if len(var.ROLES["monster"]) > 0:
|
||||
plural = "s" if len(var.ROLES["monster"]) > 1 else ""
|
||||
message = ("Game over! All the wolves are dead! As the villagers start preparing the BBQ, " +
|
||||
|
Loading…
Reference in New Issue
Block a user