Fix endgame message when monster kills villagers

Closes #10.
This commit is contained in:
nyuszika7h 2014-07-17 16:49:35 +02:00
parent 2f5055714e
commit b1a529d13f

View File

@ -1186,8 +1186,8 @@ def chk_win(cli, end_game = True):
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, " +
"the monster{0} quickly kill the remaining villagers, " +
"causing the monster{0} to win.").format(plural)
"the monster{0} quickly kill{1} the remaining villagers, " +
"causing the monster{0} to win.").format(plural, "" if plural else "s")
winner = "monsters"
else:
message = ("Game over! All the wolves are dead! The villagers " +