Fix NPCs stopping steering on 1 bad path (#12571)
This commit is contained in:
@@ -190,13 +190,6 @@ namespace Content.Server.NPC.Systems
|
|||||||
return;
|
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.
|
// Can't move at all, just noop input.
|
||||||
if (!mover.CanMove)
|
if (!mover.CanMove)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user