diff options
author | Zae <zaevi@live.com> | 2024-01-26 05:44:40 +0800 |
---|---|---|
committer | Zae <zaevi@live.com> | 2024-01-26 05:44:40 +0800 |
commit | e868a9f577ede620aeb76a60097c470de3296233 (patch) | |
tree | 7e18f6a69fd543d40c9bdb05d88af47e14ae5715 | |
parent | 4b6ad349886288405890b07d4a8da425eb3c97ec (diff) | |
download | redot-engine-e868a9f577ede620aeb76a60097c470de3296233.tar.gz |
C#: Fix not assigning `runtime_initialized` when initializing with AOT.
-rw-r--r-- | modules/mono/mono_gd/gd_mono.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mono/mono_gd/gd_mono.cpp b/modules/mono/mono_gd/gd_mono.cpp index 3eb746677d..7ce2232aa4 100644 --- a/modules/mono/mono_gd/gd_mono.cpp +++ b/modules/mono/mono_gd/gd_mono.cpp @@ -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"); } |