Merge pull request #33983 from neikeq/issue-32980
Mono/C#: Fix crash on exported games that don't use C#
This commit is contained in:
commit
c9989c5390
1 changed files with 2 additions and 1 deletions
|
@ -128,7 +128,8 @@ void CSharpLanguage::init() {
|
|||
print_line("Run this binary with '--generate-mono-glue path/to/modules/mono/glue'");
|
||||
#endif
|
||||
|
||||
gdmono->initialize_load_assemblies();
|
||||
if (gdmono->is_runtime_initialized())
|
||||
gdmono->initialize_load_assemblies();
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
EditorNode::add_init_callback(&_editor_init_callback);
|
||||
|
|
Loading…
Reference in a new issue