Skip to content

Commit

Permalink
Merge pull request godotengine#79388 from KoBeWi/wait_faster
Browse files Browse the repository at this point in the history
Don't use splash minimum display time in editor
  • Loading branch information
YuriSizov authored Jul 17, 2023
2 parents 38ccab2 + 5ee6d33 commit 3a21364
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a21364

Please sign in to comment.