diff options
author | Programneer <kacperbogangibas@gmail.com> | 2024-04-17 09:22:23 +0200 |
---|---|---|
committer | Programneer <kacperbogangibas@gmail.com> | 2024-04-17 10:00:48 +0200 |
commit | 2980593995cb497b64c12d1676d06a12978690fc (patch) | |
tree | a94f84d7c58f0c9a64fe06fad832b0690084d9f6 /SConstruct | |
parent | 658e97c93aa2533cb7b12f05e62dcf6864e7acbe (diff) | |
download | redot-engine-2980593995cb497b64c12d1676d06a12978690fc.tar.gz |
Only define ENGINE_UPDATE_CHECK_ENABLED in editor builds
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index f6c3b33fc6..ff1eba681d 100644 --- a/SConstruct +++ b/SConstruct @@ -475,7 +475,7 @@ if methods.get_cmdline_bool("fast_unsafe", env_base.dev_build): if env_base["use_precise_math_checks"]: env_base.Append(CPPDEFINES=["PRECISE_MATH_CHECKS"]) -if env_base["engine_update_check"]: +if env_base.editor_build and env_base["engine_update_check"]: env_base.Append(CPPDEFINES=["ENGINE_UPDATE_CHECK_ENABLED"]) if not env_base.File("#main/splash_editor.png").exists(): |