i18n_db: fix ValueError exception when name should be groupName

This commit is contained in:
zhaoweny
2020-06-28 11:42:27 +08:00
parent 5c7e3fe782
commit f515536d1a

View File

@@ -255,7 +255,7 @@ class FighterDisplay(d.Display):
@staticmethod
def fighterKey(fighter):
groupName = Market.getInstance().getGroupByItem(fighter.item).name
groupName = Market.getInstance().getGroupByItem(fighter.item).groupName
orderPos = FIGHTER_ORDER.index(groupName)
# Sort support fighters by name, ignore their abilities
if groupName == 'Support Fighter':