mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2025-02-16 13:24:06 +00:00
argh
This commit is contained in:
parent
8867868c3c
commit
2a3f9f7f99
1 changed files with 5 additions and 5 deletions
10
main.py
10
main.py
|
@ -420,14 +420,14 @@ class Game:
|
|||
|
||||
def endconfig(self):
|
||||
"""Fine della fase di config, inizio assegnazione ruoli"""
|
||||
game.phase = 'Voting'
|
||||
self.phase = 'Voting'
|
||||
try:
|
||||
game.assignroles(bot)
|
||||
self.assignroles(bot)
|
||||
except IndexError:
|
||||
game.message(bot, s.error_not_enough_players)
|
||||
game.endgame()
|
||||
self.message(bot, s.error_not_enough_players)
|
||||
self.endgame()
|
||||
else:
|
||||
game.message(bot, s.roles_assigned_successfully)
|
||||
self.message(bot, s.roles_assigned_successfully)
|
||||
|
||||
def endgame(self):
|
||||
inprogress.remove(self)
|
||||
|
|
Loading…
Add table
Reference in a new issue