Fixes big issue with air alarms (#7714)

This commit is contained in:
Flipp Syder
2022-04-22 21:07:40 -07:00
committed by GitHub
parent c022afaec4
commit f27bc94fc1

View File

@@ -175,6 +175,10 @@ namespace Content.Server.Atmos.Monitor.Systems
component.CurrentModeUpdater = null;
component.DeviceData.Clear();
}
else
{
SyncAllDevices(uid);
}
}
private void OnClose(EntityUid uid, AirAlarmComponent component, BoundUIClosedEvent args)