Remove duplication of Character.ro property

This commit is contained in:
blitzmann
2017-05-14 22:50:18 -04:00
parent bff44c46f8
commit 11eea37aa7

View File

@@ -218,10 +218,6 @@ class Character(object):
def isDirty(self):
return len(self.dirtySkills) > 0
@property
def ro(self):
return self == self.getAll5() or self == self.getAll0()
def saveLevels(self):
if self.ro:
raise ReadOnlyException("This character is read-only")