From db48df3e6ecc7f31c3704f95dfe3267d26a9fdbf Mon Sep 17 00:00:00 2001 From: kleonc <9283098+kleonc@users.noreply.github.com> Date: Sat, 31 Dec 2022 14:46:55 +0100 Subject: [PATCH] Ensure MainLoop and its custom script is set right after it's resolved --- core/os/main_loop.cpp | 8 -------- core/os/main_loop.h | 4 ---- main/main.cpp | 8 ++++---- 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/core/os/main_loop.cpp b/core/os/main_loop.cpp index c0504a174cd..1adc12938fb 100644 --- a/core/os/main_loop.cpp +++ b/core/os/main_loop.cpp @@ -52,15 +52,7 @@ void MainLoop::_bind_methods() { GDVIRTUAL_BIND(_finalize); } -void MainLoop::set_initialize_script(const Ref