Only show fighter abilites which have been implemented.

This commit is contained in:
blitzmann
2016-04-21 22:20:53 -04:00
parent 71482c2359
commit 43f69bb184
2 changed files with 4 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ class FighterAbility(ContextMenu):
sub = wx.Menu()
for ability in self.fighter.abilities:
if not ability.effect.isImplemented:
continue
menuItem = self.addAbility(rootMenu if msw else sub, ability)
sub.AppendItem(menuItem)
menuItem.Check(ability.active)