Revert "ResetAll no longer clears the alarm state for an atmos monitor"

This reverts commit d774741121.
This commit is contained in:
vulppine
2022-08-22 16:11:32 -07:00
parent d712b1b744
commit ff9d9ab75c

View File

@@ -99,6 +99,10 @@ namespace Content.Server.Atmos.Monitor.Systems
case AtmosDeviceNetworkSystem.RegisterDevice:
component.RegisteredDevices.Add(args.SenderAddress);
break;
case AtmosAlarmableSystem.ResetAll:
Reset(uid);
// Don't clear alarm states here.
break;
case AtmosMonitorSetThresholdCmd:
if (args.Data.TryGetValue(AtmosMonitorThresholdData, out AtmosAlarmThreshold? thresholdData)
&& args.Data.TryGetValue(AtmosMonitorThresholdDataType, out AtmosMonitorThresholdType? thresholdType))