Let scene replacemnent benefit from certain late pieces of frame logic

This commit is contained in:
Pedro J. Estébanez 2023-11-21 18:32:49 +01:00
parent c2f8fb3015
commit 8bebabda18
1 changed files with 4 additions and 4 deletions

View File

@ -515,6 +515,10 @@ bool SceneTree::process(double p_time) {
_flush_delete_queue();
if (unlikely(pending_new_scene)) {
_flush_scene_change();
}
process_timers(p_time, false); //go through timers
process_tweens(p_time, false);
@ -550,10 +554,6 @@ bool SceneTree::process(double p_time) {
#endif // _3D_DISABLED
#endif // TOOLS_ENABLED
if (unlikely(pending_new_scene)) {
_flush_scene_change();
}
return _quit;
}