From 5ee6d33d49d40db7dcb4476d2e3ff0c603f1ca28 Mon Sep 17 00:00:00 2001 From: kobewi Date: Wed, 12 Jul 2023 20:56:50 +0200 Subject: [PATCH] Don't use splash minimum display time in editor --- main/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/main.cpp b/main/main.cpp index 989b9bc59d8..7e2741648da 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