Mono/C#: Fix crash on exported games that don't use C#
This commit is contained in:
parent
7735af7e76
commit
85d8c42763
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