Another exploit fix (#114)
* Revert "Critical fix(#106)" This reverts commit b8eeed39e7f544efd9d7a4ae6f45f529afe21145. * Але оп --------- Co-authored-by: Mona Hmiza <> # Conflicts: # Content.Server/DeviceNetwork/Systems/DeviceNetworkSystem.cs
This commit is contained in:
@@ -95,10 +95,7 @@ namespace Content.Server.DeviceLinking.Systems
|
||||
data[DeviceNetworkConstants.LogicState] = SignalState.Low;
|
||||
_signalSystem.InvokePort(uid, door.OutOpen, data);
|
||||
}
|
||||
else if (args.State == DoorState.Open
|
||||
|| args.State == DoorState.Opening
|
||||
|| args.State == DoorState.Closing
|
||||
|| args.State == DoorState.Emagging)
|
||||
else if (args.State is DoorState.Open or DoorState.Emagging)
|
||||
{
|
||||
data[DeviceNetworkConstants.LogicState] = SignalState.High;
|
||||
_signalSystem.InvokePort(uid, door.OutOpen, data);
|
||||
|
||||
Reference in New Issue
Block a user