1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

inconsistent str() error fix

inconsistent str() error fix
This commit is contained in:
Edward
2022-07-27 12:53:59 -04:00
parent abb44676e0
commit 67e34f6120

View File

@@ -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;
}