Fix prints and printt functions printing as errors

This commit is contained in:
George Marques 2020-11-25 16:18:41 -03:00
parent 25ebee328c
commit 40b683f8bb
No known key found for this signature in database
GPG key ID: 046BD46A3201E43D

View file

@ -537,7 +537,7 @@ struct VariantUtilityFunctions {
str += p_args[i]->operator String(); str += p_args[i]->operator String();
} }
print_error(str); print_line(str);
r_error.error = Callable::CallError::CALL_OK; r_error.error = Callable::CallError::CALL_OK;
} }
@ -554,7 +554,7 @@ struct VariantUtilityFunctions {
str += p_args[i]->operator String(); str += p_args[i]->operator String();
} }
print_error(str); print_line(str);
r_error.error = Callable::CallError::CALL_OK; r_error.error = Callable::CallError::CALL_OK;
} }