From 884652ac8fd85982bf94b2a031d6cb7d9b51e6d2 Mon Sep 17 00:00:00 2001 From: izawartka <59137928+izawartka@users.noreply.github.com> Date: Mon, 21 Jul 2025 18:54:36 +0200 Subject: [PATCH] Updated scp.py *Updated scp.py to not ignore MiscGroups --- tools/scp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/scp.py b/tools/scp.py index 841f940..b9b463d 100644 --- a/tools/scp.py +++ b/tools/scp.py @@ -5,7 +5,7 @@ import sys # # [ TD2 SCENERY PROCESSOR ] # by masuo -# v1.6 +# v1.7 # BAD_WORDS = ['Fence', 'TerrainPoint', 'Wires'] @@ -16,7 +16,7 @@ def should_exclude(line: str) -> bool: if line.startswith(word): return True - if line.startswith("Misc"): + if line.startswith("Misc") and not line.startswith("MiscGroup"): if re.match(MISC_REGEX, line): return True