1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2025-02-16 13:24:06 +00:00

Sistemato il bug che ha fatto crashare il gioco.

This commit is contained in:
Steffo 2016-05-25 06:45:46 +00:00
parent 5482090749
commit 1619c43bf0

View file

@ -114,7 +114,8 @@ class Angelo(Role):
def onendday(self, bot, game):
# Resetta la protezione
self.protecting.role.protectedby = None
if self.protecting is not None:
self.protecting.role.protectedby = None
self.protecting = None
@ -134,7 +135,6 @@ class Player:
self.votingfor = None # Diventa un player se ha votato
self.votes = 0 # Voti. Aggiornato da updatevotes()
# Classe di ogni partita
class Game:
def __init__(self, groupid, adminid):