summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-10 23:13:02 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-10 23:13:02 -0300
commit1a9c3a134df879e17c939156dfcddfdf283ac447 (patch)
tree9fc1f468207ccaefd3ab551f961dd657570438b7
parentd7015613b10918da720f843c2c56d5c949ffc15b (diff)
-Make Akien happy, fixes #3068
(seems I wrote all the code, then forgot to use the enum...)
-rw-r--r--modules/gdscript/gd_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp
index d753a9f167..9a3f50d3b8 100644
--- a/modules/gdscript/gd_script.cpp
+++ b/modules/gdscript/gd_script.cpp
@@ -1139,7 +1139,7 @@ Variant GDFunction::call(GDInstance *p_instance, const Variant **p_args, int p_a
if (!GDScriptLanguage::get_singleton()->debug_break(err_text,false)) {
// debugger break did not happen
- _err_print_error(err_func.utf8().get_data(),err_file.utf8().get_data(),err_line,err_text.utf8().get_data());
+ _err_print_error(err_func.utf8().get_data(),err_file.utf8().get_data(),err_line,err_text.utf8().get_data(),ERR_HANDLER_SCRIPT);
}