diff --git a/src/wolfgame.py b/src/wolfgame.py index 5071f20..4afce32 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -2118,7 +2118,7 @@ def stop_game(cli, winner = "", abort = False): if lvr in plrl: lvrrol = plrl[lvr] - if not winner.startswith("@") and winner != "monsters": + if not winner.startswith("@") and winner not in ("monsters", "pipers"): iwon = True break elif winner.startswith("@") and winner == "@" + lvr and var.LOVER_WINS_WITH_FOOL: @@ -2127,6 +2127,9 @@ def stop_game(cli, winner = "", abort = False): elif winner == "monsters" and lvrrol == "monster": iwon = True break + elif winner == "pipers" and lvrrol == "piper": + iwon = True + break elif rol == "fool" and "@" + splr == winner: iwon = True elif rol == "monster" and splr in survived and winner == "monsters":