using Content.Shared.Ghost;
using Content.Shared.Hands;
using Content.Shared.Movement.Events;
+using Content.Shared.Movement.Systems;
using Content.Shared.Physics.Pull;
using Content.Shared.Tag;
using Content.Shared.Verbs;
private void OnFollowerMove(EntityUid uid, FollowerComponent component, ref MoveInputEvent args)
{
- StopFollowingEntity(uid, component.Following);
+ if ((args.Component.HeldMoveButtons & MoveButtons.AnyDirection) != MoveButtons.None)
+ StopFollowingEntity(uid, component.Following);
}
private void OnPullStarted(EntityUid uid, FollowerComponent component, PullStartedMessage args)