summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-06-13 11:45:43 +0200
committerGitHub <noreply@github.com>2021-06-13 11:45:43 +0200
commitde2250d786481a46984267d589c75ded2e769003 (patch)
tree5852066b8dbe84f6927680258b3d8bb71a07c7b7 /modules/mono/csharp_script.cpp
parente866a5342826d3c3e8afe0309a311d58f3b6b4d3 (diff)
parentf59488e94ec58591d7620e0ac9ffe8f178c08811 (diff)
downloadredot-engine-de2250d786481a46984267d589c75ded2e769003.tar.gz
Merge pull request #49562 from RandomShaper/fix_mono_build
Improve & fix Mono build
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 6fbefd88ac..67344b7719 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -1444,7 +1444,7 @@ bool CSharpLanguage::setup_csharp_script_binding(CSharpScriptBinding &r_script_b
// Unsafe refcount increment. The managed instance also counts as a reference.
// This way if the unmanaged world has no references to our owner
// but the managed instance is alive, the refcount will be 1 instead of 0.
- // See: godot_icall_Reference_Dtor(MonoObject *p_obj, Object *p_ptr)
+ // See: godot_icall_RefCounted_Dtor(MonoObject *p_obj, Object *p_ptr)
rc->reference();
CSharpLanguage::get_singleton()->post_unsafe_reference(rc);