summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2023-07-12 20:56:50 +0200
committerkobewi <kobewi4e@gmail.com>2023-07-12 21:09:30 +0200
commit5ee6d33d49d40db7dcb4476d2e3ff0c603f1ca28 (patch)
tree20ff2d9df62aa61e2732d330291b735f3eed7150 /main
parent287f3aa4e95f84b6647fd24fd0c5e475de288f6c (diff)
downloadredot-engine-5ee6d33d49d40db7dcb4476d2e3ff0c603f1ca28.tar.gz
Don't use splash minimum display time in editor
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 989b9bc59d..7e2741648d 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -2710,6 +2710,9 @@ bool Main::start() {
}
uint64_t minimum_time_msec = GLOBAL_DEF(PropertyInfo(Variant::INT, "application/boot_splash/minimum_display_time", PROPERTY_HINT_RANGE, "0,100,1,or_greater,suffix:ms"), 0);
+ if (Engine::get_singleton()->is_editor_hint()) {
+ minimum_time_msec = 0;
+ }
#ifdef TOOLS_ENABLED
#ifdef MODULE_GDSCRIPT_ENABLED