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

This commit is contained in:
Zae 2024-01-26 05:44:40 +08:00
parent 4b6ad34988
commit e868a9f577

View File

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