summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward <efisher@fishertechsolutions.com>2022-07-27 12:53:59 -0400
committerEdward <efisher@fishertechsolutions.com>2022-07-27 14:16:05 -0400
commit67e34f6120ef9e27b6d976321290ca481ca2d993 (patch)
tree3c25edc91deb7da099f059e5a47cbe8f2f531c28
parentabb44676e0a8e2f403dd6889662ea15c3e3bd784 (diff)
inconsistent str() error fix
inconsistent str() error fix
-rw-r--r--modules/gdscript/gdscript_utility_functions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_utility_functions.cpp b/modules/gdscript/gdscript_utility_functions.cpp
index a914374985..4b97486cb3 100644
--- a/modules/gdscript/gdscript_utility_functions.cpp
+++ b/modules/gdscript/gdscript_utility_functions.cpp
@@ -115,6 +115,7 @@ struct GDScriptUtilityFunctionsDefinitions {
if (p_arg_count < 1) {
r_error.error = Callable::CallError::CALL_ERROR_TOO_FEW_ARGUMENTS;
r_error.argument = 1;
+ r_error.expected = 1;
*r_ret = Variant();
return;
}