Merge pull request #2211 from zhaoweny/i18n_db

i18n_db: fix ValueError exception when name should be groupName
This commit is contained in:
Ryan Holmes
2020-06-28 00:18:01 -04:00
committed by GitHub

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':