diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2020-12-01 15:16:31 +0100 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2020-12-03 14:22:12 +0100 |
commit | 4c232e4222ff7b1ba27ddd95749cc6f10c76a2d4 (patch) | |
tree | d6c2e67ab4423d1df429fb0c998e0ce5cd464d24 /modules/gdscript/gdscript_analyzer.cpp | |
parent | 339b64697cefce637b473cf8aee6df8bb7fe05d9 (diff) | |
download | redot-engine-4c232e4222ff7b1ba27ddd95749cc6f10c76a2d4.tar.gz |
Fix subtracting colors and quats
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.cpp')
-rw-r--r-- | modules/gdscript/gdscript_analyzer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_analyzer.cpp b/modules/gdscript/gdscript_analyzer.cpp index aa2fa67ef2..830d9670da 100644 --- a/modules/gdscript/gdscript_analyzer.cpp +++ b/modules/gdscript/gdscript_analyzer.cpp @@ -1611,7 +1611,7 @@ void GDScriptAnalyzer::reduce_binary_op(GDScriptParser::BinaryOpNode *p_binary_o if (p_binary_op->reduced_value.get_type() == Variant::STRING) { push_error(vformat(R"(%s in operator %s.)", p_binary_op->reduced_value, Variant::get_operator_name(p_binary_op->variant_op)), p_binary_op); } else { - push_error(vformat(R"(Invalid operands to operator %s, %s and %s.".)", + push_error(vformat(R"(Invalid operands to operator %s, %s and %s.)", Variant::get_operator_name(p_binary_op->variant_op), Variant::get_type_name(p_binary_op->left_operand->reduced_value.get_type()), Variant::get_type_name(p_binary_op->right_operand->reduced_value.get_type())), |