From 411719a3992b762a751cab54d17259a06356a99b Mon Sep 17 00:00:00 2001 From: voidedWarranties Date: Fri, 6 Jan 2023 19:49:20 -0800 Subject: Fix `ScriptInstanceExtension::get_property_default_value` return value --- core/object/script_language_extension.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core') 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) -- cgit v1.2.3