summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2017-11-14 20:01:45 -0200
committerGeorge Marques <george@gmarqu.es>2017-11-16 21:56:57 -0200
commit1d12470a78d31a054aefc7f7c9a863db24b09986 (patch)
treed020f85566491ff2975bf8084a8ad68f8b66d9ee /modules/gdscript
parentb44cb4e3b9b573a3cbbd6f71aff81e6c3465d84b (diff)
Add print_error function, akin to print_line
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gdscript_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_functions.cpp b/modules/gdscript/gdscript_functions.cpp
index 467dbf3e56..c6066ceefb 100644
--- a/modules/gdscript/gdscript_functions.cpp
+++ b/modules/gdscript/gdscript_functions.cpp
@@ -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;