From bdf2e8c615bff43b7d4698ef46821dfe4089c9b0 Mon Sep 17 00:00:00 2001 From: sheepandshepherd Date: Tue, 25 Jul 2017 23:03:39 +0200 Subject: [PATCH] Fix typo in NativeScript property getter --- modules/nativescript/nativescript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nativescript/nativescript.cpp b/modules/nativescript/nativescript.cpp index 541fe951e4e..fd83b747277 100644 --- a/modules/nativescript/nativescript.cpp +++ b/modules/nativescript/nativescript.cpp @@ -502,7 +502,7 @@ bool NativeScriptInstance::get(const StringName &p_name, Variant &r_ret) const { if (P) { godot_variant value; value = P->get().getter.get_func((godot_object *)owner, - P->get().setter.method_data, + P->get().getter.method_data, userdata); r_ret = *(Variant *)&value; godot_variant_destroy(&value);