summaryrefslogtreecommitdiff
path: root/modules/mono/glue/base_object_glue.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-06-03 18:06:07 +0200
committerGitHub <noreply@github.com>2019-06-03 18:06:07 +0200
commit42569f566f7750e355bf07f15008b54677043536 (patch)
tree1f896d45a14d5a7c777d45b02ad7ca780cc30cd7 /modules/mono/glue/base_object_glue.cpp
parent22583ec6a39bb56943c78c0ed9a094b28b666b75 (diff)
parent14df9e5cb2e9f2de4adf9b979e8ef33de37b80bd (diff)
Merge pull request #29359 from neikeq/android-mono
Android build and export for the mono module
Diffstat (limited to 'modules/mono/glue/base_object_glue.cpp')
-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 7385014a53..75b2dfce9a 100644
--- a/modules/mono/glue/base_object_glue.cpp
+++ b/modules/mono/glue/base_object_glue.cpp
@@ -166,7 +166,7 @@ MonoArray *godot_icall_DynamicGodotObject_SetMemberList(Object *p_ptr) {
int i = 0;
for (List<PropertyInfo>::Element *E = property_list.front(); E; E = E->next()) {
MonoString *boxed = GDMonoMarshal::mono_string_from_godot(E->get().name);
- mono_array_set(result, MonoString *, i, boxed);
+ mono_array_setref(result, i, boxed);
i++;
}