Allow changing all 5 and 0 from editor

This commit is contained in:
blitzmann
2015-09-18 11:59:52 -04:00
parent bd53785667
commit 3ea4439b8d
2 changed files with 6 additions and 9 deletions

View File

@@ -247,7 +247,7 @@ class Skill(HandledItem):
raise ReadOnlyException()
self.activeLevel = level
if self.activeLevel == self.__level:
if self.activeLevel == self.__level and self in self.character.dirtySkills:
self.character.dirtySkills.remove(self)
else:
self.character.dirtySkills.add(self)