summaryrefslogtreecommitdiff
path: root/modules/nativescript/nativescript.cpp
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2017-07-25 23:12:08 +0200
committerGitHub <noreply@github.com>2017-07-25 23:12:08 +0200
commitd2d48e2a7a7ed04331597bcfd7b6c719da2b67c3 (patch)
tree4d9494a39432ecc9f6fce1570ef264d469c0aeba /modules/nativescript/nativescript.cpp
parentbe5adec2868983d2ec958e626ba451fbfba0b761 (diff)
parentbdf2e8c615bff43b7d4698ef46821dfe4089c9b0 (diff)
Merge pull request #9855 from sheepandshepherd/nativesetter
Fix typo in NativeScript property getter
Diffstat (limited to 'modules/nativescript/nativescript.cpp')
-rw-r--r--modules/nativescript/nativescript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nativescript/nativescript.cpp b/modules/nativescript/nativescript.cpp
index 541fe951e4..fd83b74727 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);