1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2024-11-22 13:54:19 +00:00

math is hard

This commit is contained in:
Steffo 2017-07-07 23:19:56 +03:00
parent cab9fdc928
commit 99d399d598

View file

@ -521,7 +521,7 @@ class Game:
self.players.append(player) self.players.append(player)
self.message(bot, s.player_joined.format(name=player.tusername)) self.message(bot, s.player_joined.format(name=player.tusername))
# Se è il primo giocatore ad unirsi, diventa admin # Se è il primo giocatore ad unirsi, diventa admin
if len(self.players) == 0: if len(self.players) == 1:
self.admin = player self.admin = player
def getrandomrole(self): def getrandomrole(self):