You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add print_error function, akin to print_line
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user