mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2024-11-25 07:04:18 +00:00
di sto passo finisco a settembre
This commit is contained in:
parent
2a3f9f7f99
commit
24b3446fab
1 changed files with 3 additions and 3 deletions
6
main.py
6
main.py
|
@ -418,7 +418,7 @@ class Game:
|
|||
self.message(bot, s.victory_royal)
|
||||
self.endgame()
|
||||
|
||||
def endconfig(self):
|
||||
def endconfig(self, bot):
|
||||
"""Fine della fase di config, inizio assegnazione ruoli"""
|
||||
self.phase = 'Voting'
|
||||
try:
|
||||
|
@ -585,10 +585,10 @@ def config(bot, update):
|
|||
elif game.configstep == 3:
|
||||
if cmd[1].lower() == 'testa':
|
||||
game.votingmifia = False
|
||||
game.endconfig()
|
||||
game.endconfig(bot)
|
||||
elif cmd[1].lower() == 'unica':
|
||||
game.votingmifia = True
|
||||
game.endconfig()
|
||||
game.endconfig(bot)
|
||||
else:
|
||||
game.message(bot, s.error_invalid_config)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue