or instead of and
This commit is contained in:
parent
8de6193ff2
commit
546e70730e
|
|
@ -287,7 +287,7 @@ namespace Content.Server.Atmos.Monitor.Systems
|
|||
|
||||
// if the state of the current air doesn't match the last alarm state,
|
||||
// we update the state
|
||||
if (state != monitor.LastAlarmState && !alarmTypes.SetEquals(monitor.TrippedThresholds))
|
||||
if (state != monitor.LastAlarmState || !alarmTypes.SetEquals(monitor.TrippedThresholds))
|
||||
{
|
||||
Alert(uid, state, alarmTypes, monitor);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue