diff --git a/src/common/scripting/backend/codegen.cpp b/src/common/scripting/backend/codegen.cpp index 4f4fe57d59..3738aeb5dc 100644 --- a/src/common/scripting/backend/codegen.cpp +++ b/src/common/scripting/backend/codegen.cpp @@ -3861,7 +3861,7 @@ FxExpression *FxCompareRel::Resolve(FCompileContext& ctx) } ValueType = TypeString; } - if (left->IsNumeric() && right->IsNumeric()) + else if (left->IsNumeric() && right->IsNumeric()) { if (left->IsInteger() && right->IsInteger()) {