diff --git a/core/script/mixin_script/mixin_script.cpp b/core/script/mixin_script/mixin_script.cpp index e2fb13db..464b91dd 100644 --- a/core/script/mixin_script/mixin_script.cpp +++ b/core/script/mixin_script/mixin_script.cpp @@ -522,7 +522,7 @@ Variant Mixin::call(const StringName &p_method, const Variant **p_args, int p_ar // The following allows to call `Mixin.free()`. // This is not strictly needed because Mixin objects should not be instantiated directly, // and doing so is discouraged, but this can make debug builds more robust for fuzz testing. - Object::call(p_method, p_args, p_argcount, r_error); + return Object::call(p_method, p_args, p_argcount, r_error); #endif return Variant(); }