1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2024-11-25 15:14:18 +00:00

gg me (closes #66)

This commit is contained in:
Steffo 2017-07-24 19:27:21 +02:00
parent 4a826402e1
commit 10a64f7566

View file

@ -43,3 +43,9 @@ class Angelo(Role):
if self.protecting is not None: if self.protecting is not None:
self.protecting.protectedby = None self.protecting.protectedby = None
self.protecting = None self.protecting = None
def ondeath(self):
# Resetta la protezione
if self.protecting is not None:
self.protecting.protectedby = None
self.protecting = None