aboutsummaryrefslogtreecommitdiff
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry2018-02-22 13:13:51 +0100
committerHein-Pieter van Braam2018-02-26 22:36:03 +0100
commitdde14e15c667d59f931bb8050b113fb564b578e4 (patch)
tree115be9e387d582a136dd916b87494e83aa1f3cba /modules/mono/csharp_script.cpp
parent1ea805a4aa47eac9d4bcc672b02f210416e86fe7 (diff)
downloadgodot-dde14e15c667d59f931bb8050b113fb564b578e4.tar.gz
godot-dde14e15c667d59f931bb8050b113fb564b578e4.tar.zst
godot-dde14e15c667d59f931bb8050b113fb564b578e4.zip
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r--modules/mono/csharp_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index fb4513657..c21b7f105 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -454,7 +454,7 @@ Vector<ScriptLanguage::StackInfo> CSharpLanguage::debug_get_current_stack_info()
#ifdef DEBUG_ENABLED
// Printing an error here will result in endless recursion, so we must be careful
- if (!gdmono->is_runtime_initialized() || !GDMono::get_singleton()->get_api_assembly() || !GDMonoUtils::mono_cache.corlib_cache_updated)
+ if (!gdmono->is_runtime_initialized() || !GDMono::get_singleton()->get_core_api_assembly() || !GDMonoUtils::mono_cache.corlib_cache_updated)
return Vector<StackInfo>();
MonoObject *stack_trace = mono_object_new(mono_domain_get(), CACHED_CLASS(System_Diagnostics_StackTrace)->get_mono_ptr());