Sprite Movement working with AI movement (#33494)
* FINALLY * Update animals.yml
This commit is contained in:
@@ -253,7 +253,7 @@ public sealed partial class NPCSteeringSystem
|
||||
|
||||
if (!targetCoordinates.IsValid(EntityManager))
|
||||
{
|
||||
SetDirection(mover, steering, Vector2.Zero);
|
||||
SetDirection(uid, mover, steering, Vector2.Zero);
|
||||
steering.Status = SteeringStatus.NoPath;
|
||||
return false;
|
||||
}
|
||||
@@ -263,7 +263,7 @@ public sealed partial class NPCSteeringSystem
|
||||
// Can't make it again.
|
||||
if (ourMap.MapId != targetMap.MapId)
|
||||
{
|
||||
SetDirection(mover, steering, Vector2.Zero);
|
||||
SetDirection(uid, mover, steering, Vector2.Zero);
|
||||
steering.Status = SteeringStatus.NoPath;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user