Merge pull request #79388 from KoBeWi/wait_faster

Don't use splash minimum display time in editor
This commit is contained in:
Yuri Sizov 2023-07-17 17:21:01 +02:00 committed by GitHub
commit 3a213643c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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