From c4655010d0a907c7357a0c60519c8345639255b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82?= Date: Fri, 21 Apr 2023 10:01:59 +0200 Subject: Fix lerp error message (cherry picked from commit 899da2200215b3863067719463915c968c5a3a21) --- core/variant/variant_utility.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/variant/variant_utility.cpp b/core/variant/variant_utility.cpp index a6363039ba..fd079dbeea 100644 --- a/core/variant/variant_utility.cpp +++ b/core/variant/variant_utility.cpp @@ -374,6 +374,7 @@ struct VariantUtilityFunctions { r_error.error = Callable::CallError::CALL_OK; if (from.get_type() != to.get_type()) { r_error.error = Callable::CallError::CALL_ERROR_INVALID_ARGUMENT; + r_error.expected = from.get_type(); r_error.argument = 1; return Variant(); } -- cgit v1.2.3