sc2: Fixing typo in itemgroups.py causing spurious item groups with 2 letters chopped off (#3612)
This commit is contained in:
parent
d4d0a3e945
commit
ca76628813
|
@ -51,7 +51,7 @@ for item, data in Items.get_full_item_list().items():
|
|||
item_name_groups.setdefault(data.type, []).append(item)
|
||||
# Numbered flaggroups get sorted into an unnumbered group
|
||||
# Currently supports numbers of one or two digits
|
||||
if data.type[-2:].strip().isnumeric:
|
||||
if data.type[-2:].strip().isnumeric():
|
||||
type_group = data.type[:-2].strip()
|
||||
item_name_groups.setdefault(type_group, []).append(item)
|
||||
# Flaggroups with numbers are unlisted
|
||||
|
|
Loading…
Reference in New Issue