From ea75ea50d2b0f76c44e02e6fd8a558788cc375f6 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Thu, 2 Jan 2020 13:13:22 +0100 Subject: Mono/C#: Fix GD.PrintErr now showing in the Output panel --- modules/mono/glue/gd_glue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/mono/glue/gd_glue.cpp b/modules/mono/glue/gd_glue.cpp index 41f0439c14..041d29c7bf 100644 --- a/modules/mono/glue/gd_glue.cpp +++ b/modules/mono/glue/gd_glue.cpp @@ -83,7 +83,7 @@ void godot_icall_GD_printerr(MonoArray *p_what) { String str; for (int i = 0; i < what.size(); i++) str += what[i].operator String(); - OS::get_singleton()->printerr("%s\n", str.utf8().get_data()); + print_error(str); } void godot_icall_GD_printraw(MonoArray *p_what) { -- cgit v1.2.3