From 160104bc2a5d7be02e58b1517e86f2abba581fbd Mon Sep 17 00:00:00 2001 From: vulppine Date: Mon, 22 Aug 2022 10:41:53 -0700 Subject: [PATCH] Revert "oops!" This reverts commit 1428a6d285cc1a217b3180276da003edd3726f20. --- .../Atmos/Monitor/Systems/FireAlarmSystem.cs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Content.Server/Atmos/Monitor/Systems/FireAlarmSystem.cs b/Content.Server/Atmos/Monitor/Systems/FireAlarmSystem.cs index 4e45f9548b..1d72aa8ff7 100644 --- a/Content.Server/Atmos/Monitor/Systems/FireAlarmSystem.cs +++ b/Content.Server/Atmos/Monitor/Systems/FireAlarmSystem.cs @@ -1,6 +1,5 @@ using Content.Server.AlertLevel; using Content.Server.Atmos.Monitor.Components; -using Content.Server.DeviceNetwork.Components; using Content.Server.DeviceNetwork.Systems; using Content.Server.Power.Components; using Content.Server.Power.EntitySystems; @@ -27,16 +26,8 @@ namespace Content.Server.Atmos.Monitor.Systems private void OnDeviceListSync(EntityUid uid, FireAlarmComponent component, DeviceListUpdateEvent args) { - foreach (var ent in args.Devices) - { - if (!TryComp(ent, out var devNet)) - { - continue; - } - - _atmosDevNet.Register(uid, devNet.Address); - _atmosDevNet.Sync(uid, devNet.Address); - } + _atmosDevNet.Register(uid, null); + _atmosDevNet.Sync(uid, null); } private void OnInteractHand(EntityUid uid, FireAlarmComponent component, InteractHandEvent args)