From b1a529d13fcb5ecbf46477cfe0b8d421bdeae942 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Thu, 17 Jul 2014 16:49:35 +0200 Subject: [PATCH] Fix endgame message when monster kills villagers Closes #10. --- modules/wolfgame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 1b8f8db..101bbb7 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -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 " +