Handle renamed attributes and groups

This commit is contained in:
DarkPhoenix
2021-12-02 12:55:56 +03:00
parent dfdcf0a804
commit ca8a8f0785
3 changed files with 6 additions and 6 deletions

View File

@@ -181,7 +181,7 @@ class Ammo:
prelim = {}
for charge in chargesFlat:
oreTypeList = charge.getAttribute('specialisationAsteroidTypeList')
oreTypeList = charge.getAttribute('specializationAsteroidTypeList')
category = typeMap.get(oreTypeList, _t('Misc'))
prelim.setdefault(category, set()).add(charge)