Remove non-published skills from character sheet

This commit is contained in:
DarkPhoenix
2010-10-15 01:01:58 +04:00
parent c8426c67e8
commit 3a1e188d87

View File

@@ -49,7 +49,8 @@ class Character():
group = eos.db.getGroup(groupID)
skills = []
for skill in group.items:
skills.append((skill.ID, skill.name))
if skill.published == True:
skills.append((skill.ID, skill.name))
return skills
def getSkillDescription(self, itemID):