Fix a bug with incorrect handling of "Unlearn" and "Level 0"

This commit is contained in:
cncfanatics
2010-10-07 08:04:33 +02:00
parent a4877514b4
commit 89a0ccf513
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ class Character():
def changeLevel(self, charID, skillID, level):
char = eos.db.getCharacter(charID)
skill = char.getSkill(skillID)
if level == "Unlearned":
if level == "Not Learned":
skill.learned = False
else:
skill.level = level