summaryrefslogtreecommitdiffstats
path: root/main/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'main/SCsub')
-rw-r--r--main/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SCsub b/main/SCsub
index 3e7680bf89..27b746a937 100644
--- a/main/SCsub
+++ b/main/SCsub
@@ -20,7 +20,7 @@ env_main.CommandNoCache(
env.Run(main_builders.make_splash),
)
-if not env_main["no_editor_splash"]:
+if env_main.editor_build and not env_main["no_editor_splash"]:
env_main.Depends("#main/splash_editor.gen.h", "#main/splash_editor.png")
env_main.CommandNoCache(
"#main/splash_editor.gen.h",