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
1 changed files with 1 additions and 0 deletions

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");
}