Do not attempt to change skill levels of built-in all0/5 chars

This commit is contained in:
DarkPhoenix
2019-11-22 15:46:29 +03:00
parent a09af0a9eb
commit 8652a2891b

View File

@@ -636,6 +636,8 @@ class SkillTreeView(wx.Panel):
sChar = Character.getInstance()
char = self.charEditor.entityEditor.getActiveEntity()
if char.name in ("All 0", "All 5"):
return
selection = self.skillTreeListCtrl.GetSelection()
dataType, skillID = self.skillTreeListCtrl.GetItemData(selection)