Fix NPCs stopping steering on 1 bad path (#12571)
This commit is contained in:
parent
8d1773742e
commit
2ff2ba89a1
|
|
@ -190,13 +190,6 @@ namespace Content.Server.NPC.Systems
|
|||
return;
|
||||
}
|
||||
|
||||
// No path set from pathfinding or the likes.
|
||||
if (steering.Status == SteeringStatus.NoPath)
|
||||
{
|
||||
SetDirection(mover, steering, Vector2.Zero);
|
||||
return;
|
||||
}
|
||||
|
||||
// Can't move at all, just noop input.
|
||||
if (!mover.CanMove)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue