diff options
| author | Ignacio Etcheverry | 2018-02-22 13:13:51 +0100 |
|---|---|---|
| committer | Ignacio Etcheverry | 2018-02-25 20:56:27 +0100 |
| commit | f37090ccf4f699800a43878273b8b94b5906f4bc (patch) | |
| tree | 2ae483b9c89320bacd7e6ad1939448d9741ba0d9 /modules/mono/csharp_script.cpp | |
| parent | 125fc8cc4432d28e63da76c3a2aff655b1a7cc6b (diff) | |
| download | godot-f37090ccf4f699800a43878273b8b94b5906f4bc.tar.gz godot-f37090ccf4f699800a43878273b8b94b5906f4bc.tar.zst godot-f37090ccf4f699800a43878273b8b94b5906f4bc.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 6287e675d..525b918b1 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -456,7 +456,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()); |
