Update FollowerSystem's fix to use new helper property (#24889)

Updated FollowerSystem's fix to use new helper property

(cherry picked from commit 79e3a6630d94a7409500b5856fd2a1518533a3d9)
This commit is contained in:
Tayrtahn
2024-02-02 22:17:05 -05:00
committed by Debug
parent 3818bfadf8
commit a1e09ff808

View File

@@ -97,7 +97,7 @@ public sealed class FollowerSystem : EntitySystem
private void OnFollowerMove(EntityUid uid, FollowerComponent component, ref MoveInputEvent args)
{
if ((args.Component.HeldMoveButtons & MoveButtons.AnyDirection) != MoveButtons.None)
if (args.HasDirectionalMovement)
StopFollowingEntity(uid, component.Following);
}