mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2024-11-22 13:54:19 +00:00
Fixed victory conditions for missing mifia
This commit is contained in:
parent
4de819c1df
commit
235f2f1bcd
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -565,7 +565,7 @@ class Game:
|
||||||
for player in self.players:
|
for player in self.players:
|
||||||
player.message(bot, s.end_game_wiped + s.tie)
|
player.message(bot, s.end_game_wiped + s.tie)
|
||||||
# Mifiosi più dei Royal
|
# 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)
|
self.message(bot, s.end_mifia_outnumber + s.victory_mifia)
|
||||||
for player in self.players:
|
for player in self.players:
|
||||||
if player.role.team == 'Good':
|
if player.role.team == 'Good':
|
||||||
|
|
Loading…
Reference in a new issue