diff options
| author | Ignacio Etcheverry | 2018-02-22 13:13:51 +0100 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-02-26 22:36:03 +0100 |
| commit | dde14e15c667d59f931bb8050b113fb564b578e4 (patch) | |
| tree | 115be9e387d582a136dd916b87494e83aa1f3cba /modules/mono/csharp_script.cpp | |
| parent | 1ea805a4aa47eac9d4bcc672b02f210416e86fe7 (diff) | |
| download | godot-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.cpp | 2 |
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()); |
