diff --git a/modules/mono/mono_gd/gd_mono.cpp b/modules/mono/mono_gd/gd_mono.cpp index 4d833acbe99..1ebef045617 100644 --- a/modules/mono/mono_gd/gd_mono.cpp +++ b/modules/mono/mono_gd/gd_mono.cpp @@ -412,7 +412,7 @@ bool GDMono::_load_core_api_assembly() { return false; #endif - bool success = load_assembly(API_ASSEMBLY_NAME, &api_assembly); + bool success = load_assembly(API_ASSEMBLY_NAME, &core_api_assembly); if (success) { #ifndef MONO_GLUE_DISABLED