summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2020-11-25 16:18:41 -0300
committerGeorge Marques <george@gmarqu.es>2020-11-25 16:18:41 -0300
commit40b683f8bb0d05b2344476a2306f595c9ba0494a (patch)
tree3420f7d0752d867c76352b7e4d79bb554d2f3868
parent25ebee328c58fe968d7314150580208253e4143b (diff)
Fix prints and printt functions printing as errors
-rw-r--r--core/variant/variant_utility.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/variant/variant_utility.cpp b/core/variant/variant_utility.cpp
index 70edcd48c2..d54e223a99 100644
--- a/core/variant/variant_utility.cpp
+++ b/core/variant/variant_utility.cpp
@@ -537,7 +537,7 @@ struct VariantUtilityFunctions {
str += p_args[i]->operator String();
}
- print_error(str);
+ print_line(str);
r_error.error = Callable::CallError::CALL_OK;
}
@@ -554,7 +554,7 @@ struct VariantUtilityFunctions {
str += p_args[i]->operator String();
}
- print_error(str);
+ print_line(str);
r_error.error = Callable::CallError::CALL_OK;
}