mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Add print_error function, akin to print_line
This commit is contained in:
parent
b44cb4e3b9
commit
1d12470a78
6 changed files with 25 additions and 6 deletions
|
|
@ -642,7 +642,7 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_
|
|||
}
|
||||
|
||||
//str+="\n";
|
||||
OS::get_singleton()->printerr("%s\n", str.utf8().get_data());
|
||||
print_error(str);
|
||||
r_ret = Variant();
|
||||
|
||||
} break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue