Keep name on group, create displayName property to point to translated version

This commit is contained in:
blitzmann
2020-06-28 00:54:51 -04:00
parent 2fd4168ab7
commit 4a6a3fc6ea
7 changed files with 9 additions and 8 deletions

View File

@@ -508,7 +508,7 @@ class Market:
# Check custom groups
for cgrp in self.customGroups:
# During first comparison we need exact int, not float for matching
if cgrp.ID == identity or cgrp.groupName == identity:
if cgrp.ID == identity or cgrp.name == identity:
# Return first match
return cgrp
# Return eos group if everything else returned nothing