Maps docking airlocks onto saltern (#5279)

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
mirrorcult
2021-11-12 18:46:27 -07:00
committed by GitHub
parent 08aeb2d101
commit a731e545a9
4 changed files with 7 additions and 23 deletions

View File

@@ -52,19 +52,6 @@ namespace Content.Server.Shuttles
SubscribeLocalEvent<DockingComponent, GetInteractionVerbsEvent>(OnVerb);
SubscribeLocalEvent<DockingComponent, BeforeDoorAutoCloseEvent>(OnAutoClose);
SubscribeLocalEvent<DockingComponent, DoorOpenAttemptEvent>(OnDoorOpenAttempt);
SubscribeLocalEvent<DockingComponent, DoorCloseAttemptEvent>(OnDoorCloseAttempt);
}
// Won't allow users to override door controls
private void OnDoorOpenAttempt(EntityUid uid, DockingComponent component, DoorOpenAttemptEvent args)
{
args.Cancel();
}
private void OnDoorCloseAttempt(EntityUid uid, DockingComponent component, DoorCloseAttemptEvent args)
{
args.Cancel();
}
private void OnAutoClose(EntityUid uid, DockingComponent component, BeforeDoorAutoCloseEvent args)