This commit is contained in:
Deserty0
2025-05-17 18:47:30 +10:00
parent 3ff54ac067
commit fb1735cb9e

View File

@@ -96,7 +96,7 @@ def check_prototype_attrs(prototype: Prototype, with_parent_check: bool = True)
# TODO: check this out
# In some cases a parent can be a list (because of multiple parents),
# the game will not be able to handle such cases in ftl files.
elif with_parent_check and prototype.parent and not isinstance(prototype.parent, list):
elif with_parent_check and prototype.parent:
return True
return False