diff --git a/Content.Server/DeviceLinking/Systems/DoorSignalControlSystem.cs b/Content.Server/DeviceLinking/Systems/DoorSignalControlSystem.cs index 4ec3cc80b321..5266e3d7bfc1 100644 --- a/Content.Server/DeviceLinking/Systems/DoorSignalControlSystem.cs +++ b/Content.Server/DeviceLinking/Systems/DoorSignalControlSystem.cs @@ -37,7 +37,7 @@ private void OnSignalReceived(EntityUid uid, DoorSignalControlComponent componen return; //SS220-doors-logic-signals-fix - if (!TryComp(uid, out var receiverComp) || !receiverComp.Powered) + if (TryComp(uid, out var receiverComp) && !receiverComp.Powered) return; var state = SignalState.Momentary; @@ -91,7 +91,7 @@ private void OnSignalReceived(EntityUid uid, DoorSignalControlComponent componen private void OnStateChanged(EntityUid uid, DoorSignalControlComponent door, DoorStateChangedEvent args) { //SS220-doors-logic-signals-fix - if (!TryComp(uid, out var receiverComp) || !receiverComp.Powered) + if (TryComp(uid, out var receiverComp) && !receiverComp.Powered) return; var data = new NetworkPayload()