Predict doors and airlocks (#25419)
* predict doors and airlocks * prying, too * ack * eek
This commit is contained in:
@@ -12,7 +12,6 @@ namespace Content.Server.DeviceLinking.Systems
|
||||
[UsedImplicitly]
|
||||
public sealed class DoorSignalControlSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly DoorBoltSystem _bolts = default!;
|
||||
[Dependency] private readonly DoorSystem _doorSystem = default!;
|
||||
[Dependency] private readonly DeviceLinkSystem _signalSystem = default!;
|
||||
|
||||
@@ -79,7 +78,7 @@ namespace Content.Server.DeviceLinking.Systems
|
||||
bolt = state == SignalState.High;
|
||||
}
|
||||
|
||||
_bolts.SetBoltsWithAudio(uid, bolts, bolt);
|
||||
_doorSystem.SetBoltsDown((uid, bolts), bolt);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user