1
Fork 0
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:
Steffo 2016-05-27 15:53:06 +02:00
parent 2a3f9f7f99
commit 24b3446fab

View file

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