]> git.smokeofanarchy.ru Git - space-station-14.git/commit
NPC steering tweaks (#26351)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sat, 23 Mar 2024 01:42:51 +0000 (12:42 +1100)
committerGitHub <noreply@github.com>
Sat, 23 Mar 2024 01:42:51 +0000 (12:42 +1100)
commit64b648ff3c5183393b28285909e6b62c2b66663e
tree1c71b8adf8aaf7727ebeffef0ecb4224d511b792
parent763d2bca9c3a9ffe1fcfceef1506238fa31d6afc
NPC steering tweaks (#26351)

- Fix the free node check considering the whole tile and not the poly.
- Clear maps on direction resets.
- More robust arrival checks for pathfinding nodes.
Content.Server/NPC/Systems/NPCSteeringSystem.Context.cs
Content.Server/NPC/Systems/NPCSteeringSystem.cs