Update FollowerSystem's fix to use new helper property (#24889)
Updated FollowerSystem's fix to use new helper property
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user