From 3cc9874c385404044cd0c429c59718259d7f4067 Mon Sep 17 00:00:00 2001 From: TheEagle Date: Tue, 26 Jul 2022 12:12:39 +0200 Subject: [PATCH] Fix bug where entire file gets skipped if one lit texture can't be found the whole file gets skipped --- scenery/create-day-night-xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scenery/create-day-night-xml.py b/scenery/create-day-night-xml.py index 5df6335..aed019b 100755 --- a/scenery/create-day-night-xml.py +++ b/scenery/create-day-night-xml.py @@ -52,7 +52,7 @@ def write_xml_files(texture_paths, lit_suffix, overwrite): if not os.path.isfile(texture_lit_path): print("Night texture", texture_lit_path, "does not exist - skipping objects") - break + continue xml_f.write("""