diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp index aeb492eec0fa..771d78c0de90 100644 --- a/core/io/resource_loader.cpp +++ b/core/io/resource_loader.cpp @@ -862,7 +862,7 @@ Ref ResourceLoader::_load_complete_inner(LoadToken &p_load_token, Erro } } core_bind::Semaphore done; - MessageQueue::get_main_singleton()->push_callable(callable_mp(&done, &core_bind::Semaphore::post)); + MessageQueue::get_main_singleton()->push_callable(callable_mp(&done, &core_bind::Semaphore::post).bind(1)); done.wait(); } }