diff options
author | Programneer <kacperbogangibas@gmail.com> | 2024-05-12 08:50:41 +0200 |
---|---|---|
committer | Programneer <kacperbogangibas@gmail.com> | 2024-05-12 13:12:56 +0200 |
commit | efaba30116ebe9851d74d5bc20d5443730d23ad7 (patch) | |
tree | 6059d66c0e03be2b59cf74099a8c267d7ee48cd0 /main | |
parent | bdc0316217940a8ccc80ce536547d42e6477adf4 (diff) | |
download | redot-engine-efaba30116ebe9851d74d5bc20d5443730d23ad7.tar.gz |
Don't define NO_EDITOR_SPLASH in export templates
Diffstat (limited to 'main')
-rw-r--r-- | main/SCsub | 2 | ||||
-rw-r--r-- | main/main.cpp | 2 |
2 files changed, 2 insertions, 2 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", diff --git a/main/main.cpp b/main/main.cpp index 1ba336221f..bcd7d8df22 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -104,7 +104,7 @@ #include "editor/project_manager.h" #include "editor/register_editor_types.h" -#ifndef NO_EDITOR_SPLASH +#if defined(TOOLS_ENABLED) && !defined(NO_EDITOR_SPLASH) #include "main/splash_editor.gen.h" #endif |