1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2024-11-25 15:14:18 +00:00

Fixed victory conditions for missing mifia

This commit is contained in:
Steffo 2016-12-06 22:55:14 +01:00
parent 4de819c1df
commit 235f2f1bcd

View file

@ -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':