C#: Fix not assigning runtime_initialized when initializing with AOT.

(cherry picked from commit e868a9f577)
This commit is contained in:
Zae
2024-01-26 05:44:40 +08:00
committed by Rémi Verschelde
parent bbc90d8c8a
commit 587d689c5f

View File

@ -395,6 +395,7 @@ void GDMono::initialize() {
if (godot_plugins_initialize != nullptr) {
is_native_aot = true;
runtime_initialized = true;
} else {
ERR_FAIL_MSG(".NET: Failed to load hostfxr");
}