Fix NPCs stopping steering on 1 bad path (#12571)

This commit is contained in:
metalgearsloth
2022-12-07 10:11:05 +11:00
committed by GitHub
parent 8d1773742e
commit 2ff2ba89a1

View File

@@ -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)
{