Re-add "Nobody wins." when there are no players remaining

I have no idea why I removed it in the first place.
This commit is contained in:
nyuszika7h 2015-07-12 10:54:07 +02:00
parent e9874441fa
commit c30faf8831

View File

@ -1948,7 +1948,7 @@ def chk_win(cli, end_game = True, winner = None):
if winner and winner.startswith("@"): if winner and winner.startswith("@"):
message = "Game over! The fool has been lynched, causing them to win." message = "Game over! The fool has been lynched, causing them to win."
elif lpl < 1: elif lpl < 1:
message = "Game over! There are no players remaining." message = "Game over! There are no players remaining. Nobody wins."
winner = "none" winner = "none"
elif var.PHASE == "day" and lpipers and len(var.list_players()) - lpipers == len(var.CHARMED - set(var.ROLES["piper"])): elif var.PHASE == "day" and lpipers and len(var.list_players()) - lpipers == len(var.CHARMED - set(var.ROLES["piper"])):
winner = "pipers" winner = "pipers"