summaryrefslogtreecommitdiff
path: root/modules/mono
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2019-04-06 16:12:59 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2019-04-06 16:12:59 +0200
commit2f3328a039ac31368dfc9d93ae95702c0d9db827 (patch)
treebb37b12db291604df52c68a0a127ab92b2b7edbf /modules/mono
parent74719b8748d338c143a62b3659693af0d82b784c (diff)
Fix wrong method binds and registered class
Diffstat (limited to 'modules/mono')
-rw-r--r--modules/mono/glue/base_object_glue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/base_object_glue.cpp b/modules/mono/glue/base_object_glue.cpp
index b690de0d20..7f367fa095 100644
--- a/modules/mono/glue/base_object_glue.cpp
+++ b/modules/mono/glue/base_object_glue.cpp
@@ -192,7 +192,7 @@ MonoBoolean godot_icall_DynamicGodotObject_InvokeMember(Object *p_ptr, MonoStrin
*r_result = GDMonoMarshal::variant_to_mono_object(result);
- return error.error == OK;
+ return error.error == Variant::CallError::CALL_OK;
}
MonoBoolean godot_icall_DynamicGodotObject_GetMember(Object *p_ptr, MonoString *p_name, MonoObject **r_result) {