From 235f2f1bcd4974e60a6bede7fd2daa54c9b7deec Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 6 Dec 2016 22:55:14 +0100 Subject: [PATCH] Fixed victory conditions for missing mifia --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a5e2eaf..f72210f 100644 --- a/main.py +++ b/main.py @@ -565,7 +565,7 @@ class Game: for player in self.players: player.message(bot, s.end_game_wiped + s.tie) # Mifiosi piĆ¹ dei Royal - elif evil >= good: + elif (not self.missingmifia and evil >= good) or good == 0: self.message(bot, s.end_mifia_outnumber + s.victory_mifia) for player in self.players: if player.role.team == 'Good':