Remove duplicate ERR_PRINTS macro

This commit is contained in:
Marcel Admiraal 2021-06-16 11:56:25 +01:00
parent 2d3c0d311c
commit 5a58516231
74 changed files with 158 additions and 167 deletions

View file

@ -771,7 +771,7 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_
}
String message = *p_args[0];
ERR_PRINTS(message);
ERR_PRINT(message);
r_ret = Variant();
} break;
case PUSH_WARNING: {
@ -1211,7 +1211,7 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_
if (err != OK) {
r_ret = Variant();
ERR_PRINTS(vformat("Error parsing JSON at line %s: %s", errl, errs));
ERR_PRINT(vformat("Error parsing JSON at line %s: %s", errl, errs));
}
} break;