diff options
author | voidedWarranties <hi+github@voidedxd.xyz> | 2023-01-06 19:49:20 -0800 |
---|---|---|
committer | voidedWarranties <hi+github@voidedxd.xyz> | 2023-01-06 19:55:02 -0800 |
commit | 411719a3992b762a751cab54d17259a06356a99b (patch) | |
tree | 8ae26d99e2a647678c2ea39d2be64a2e682dfa57 | |
parent | 163f6f5fe87d11645e94cd49f41226ab03063e53 (diff) |
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) |