summaryrefslogtreecommitdiffstats
path: root/core/math/expression.cpp
diff options
context:
space:
mode:
authorGeorge L. Albany <Megacake1234@gmail.com>2024-11-03 05:10:14 +0000
committerGitHub <noreply@github.com>2024-11-03 05:10:14 +0000
commit70f9c12cfbcea6dff89b2a6f4868a9e6fe3866f8 (patch)
treef202e4a27092f0fdd9d579eb46e6828ecb4673e1 /core/math/expression.cpp
parent9043ceac65972c4195dd71f15a8a1cc7aa72985f (diff)
parenta684ee1dec108bb1a050f07ec3dd73fd5ef02dbc (diff)
downloadredot-engine-70f9c12cfbcea6dff89b2a6f4868a9e6fe3866f8.tar.gz
Merge pull request #834 from Spartan322/merge/c6c464c
Merge commit godotengine/godot@c6c464c
Diffstat (limited to 'core/math/expression.cpp')
-rw-r--r--core/math/expression.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/expression.cpp b/core/math/expression.cpp
index 6b8205a726..5eb524efed 100644
--- a/core/math/expression.cpp
+++ b/core/math/expression.cpp
@@ -1493,7 +1493,7 @@ Error Expression::parse(const String &p_expression, const Vector<String> &p_inpu
}
Variant Expression::execute(const Array &p_inputs, Object *p_base, bool p_show_error, bool p_const_calls_only) {
- ERR_FAIL_COND_V_MSG(error_set, Variant(), "There was previously a parse error: " + error_str + ".");
+ ERR_FAIL_COND_V_MSG(error_set, Variant(), vformat("There was previously a parse error: %s.", error_str));
execution_error = false;
Variant output;