Revert "Door opening tweaks" (#17395)
This commit is contained in:
@@ -48,6 +48,16 @@ public sealed class DoorSystem : SharedDoorSystem
|
||||
SubscribeLocalEvent<DoorComponent, GotEmaggedEvent>(OnEmagged);
|
||||
}
|
||||
|
||||
protected override void OnActivate(EntityUid uid, DoorComponent door, ActivateInWorldEvent args)
|
||||
{
|
||||
// TODO once access permissions are shared, move this back to shared.
|
||||
if (args.Handled || !door.ClickOpen)
|
||||
return;
|
||||
|
||||
TryToggleDoor(uid, door, args.User);
|
||||
args.Handled = true;
|
||||
}
|
||||
|
||||
protected override void SetCollidable(
|
||||
EntityUid uid,
|
||||
bool collidable,
|
||||
|
||||
Reference in New Issue
Block a user