Merge pull request #2211 from zhaoweny/i18n_db
i18n_db: fix ValueError exception when name should be groupName
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user