diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-08 22:36:10 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-08 22:36:10 +0100 |
commit | 0081c591989a27f0d654927ad59f890a0ab41012 (patch) | |
tree | fa75bc7f4d1d88d62d8c9861682f87fc302b479a | |
parent | fcba87e696d58912838d8a4a6987b10efa28e78f (diff) | |
parent | 411719a3992b762a751cab54d17259a06356a99b (diff) |
Merge pull request #71013 from voidedWarranties/fix_ext_property_default_value
Fix `ScriptInstanceExtension::get_property_default_value` return value
-rw-r--r-- | core/object/script_language_extension.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/object/script_language_extension.h b/core/object/script_language_extension.h index b705d13cd6..912f2218c4 100644 --- a/core/object/script_language_extension.h +++ b/core/object/script_language_extension.h @@ -125,7 +125,8 @@ public: } Variant ret; GDVIRTUAL_REQUIRED_CALL(_get_property_default_value, p_property, ret); - return ret; + r_value = ret; + return true; } EXBIND0(update_exports) |