mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
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:
@@ -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