Keep name on group, create displayName property to point to translated version
This commit is contained in:
@@ -255,7 +255,7 @@ class FighterDisplay(d.Display):
|
||||
|
||||
@staticmethod
|
||||
def fighterKey(fighter):
|
||||
groupName = Market.getInstance().getGroupByItem(fighter.item).groupName
|
||||
groupName = Market.getInstance().getGroupByItem(fighter.item).name
|
||||
orderPos = FIGHTER_ORDER.index(groupName)
|
||||
# Sort support fighters by name, ignore their abilities
|
||||
if groupName == 'Support Fighter':
|
||||
|
||||
@@ -68,7 +68,7 @@ class Miscellanea(ViewColumn):
|
||||
item = stuff.item
|
||||
if item is None:
|
||||
return "", None
|
||||
itemGroup = item.group.groupName
|
||||
itemGroup = item.group.name
|
||||
itemCategory = item.category.name
|
||||
|
||||
if itemGroup == "Ship Modifiers":
|
||||
|
||||
Reference in New Issue
Block a user