From fb1735cb9e8a459be4edc7ce67af277b84ed59bb Mon Sep 17 00:00:00 2001 From: Deserty0 Date: Sat, 17 May 2025 18:47:30 +1000 Subject: [PATCH] dsd --- Tools/_CP14/LocalizationHelper/LocalizationHelper/prototype.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/_CP14/LocalizationHelper/LocalizationHelper/prototype.py b/Tools/_CP14/LocalizationHelper/LocalizationHelper/prototype.py index a0e13db974..4ba4dcfe66 100644 --- a/Tools/_CP14/LocalizationHelper/LocalizationHelper/prototype.py +++ b/Tools/_CP14/LocalizationHelper/LocalizationHelper/prototype.py @@ -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