Skip to content

Commit 8ee4745

Browse files
authored
make event operator force-fix less aggressive
not equal is also a string operator, so don't replace it invert works slightly different from that as well
1 parent ef0d9d6 commit 8ee4745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/pac3/core/client/parts/event.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function PART:fix_event_operator()
138138
end
139139

140140
elseif event_type == "string" then
141-
if self.Operator ~= "find" and self.Operator ~= "find simple" and self.Operator ~= "equal" then
141+
if self.Operator ~= "find" and self.Operator ~= "find simple" and self.Operator ~= "equal" and self.Operator ~= "not equal" then
142142
self.Operator = PART.Events[self.Event].preferred_operator --find simple
143143
self:SetInfo("The operator was automatically changed to work with this event type, which handles strings (text)")
144144
end

0 commit comments

Comments
 (0)