Don't define NO_EDITOR_SPLASH in export templates

This commit is contained in:
Programneer
2024-05-12 08:50:41 +02:00
parent bdc0316217
commit efaba30116
3 changed files with 10 additions and 9 deletions

View File

@ -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",