diff --git a/Content.Server/Resist/EscapeInventorySystem.cs b/Content.Server/Resist/EscapeInventorySystem.cs index 47991b19c9..32e598fa01 100644 --- a/Content.Server/Resist/EscapeInventorySystem.cs +++ b/Content.Server/Resist/EscapeInventorySystem.cs @@ -31,7 +31,6 @@ public sealed class EscapeInventorySystem : EntitySystem base.Initialize(); SubscribeLocalEvent(OnRelayMovement); - SubscribeLocalEvent(OnMoveAttempt); SubscribeLocalEvent(OnEscapeComplete); SubscribeLocalEvent(OnEscapeFail); SubscribeLocalEvent(OnDropped); @@ -68,12 +67,6 @@ public sealed class EscapeInventorySystem : EntitySystem AttemptEscape(uid, container.Owner, component); } - private void OnMoveAttempt(EntityUid uid, CanEscapeInventoryComponent component, UpdateCanMoveEvent args) - { - if (_containerSystem.IsEntityOrParentInContainer(uid)) - args.Cancel(); - } - private void AttemptEscape(EntityUid user, EntityUid container, CanEscapeInventoryComponent component, float multiplier = 1f) { component.CancelToken = new();