We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 366b9e0 commit 0b29e5eCopy full SHA for 0b29e5e
Data/Base.rte/Scenes/Objects/Bunkers/BunkerSystems/Automovers/Controller/Controller.lua
@@ -1587,11 +1587,10 @@ automoverActorFunctions.centreActorToClosestNodeIfMovingInAppropriateDirection =
1587
local stop = false;
1588
for pos in actor.MovePath do
1589
local adjustedPos = pos;
1590
- adjustedPos[centeringAxis] = closestNode.Pos[centeringAxis];
1591
- table.insert(positionsToFixUp, adjustedPos);
1592
- if not directionConnectingArea:IsInside(pos) then
1593
- break;
+ if directionConnectingArea:IsInside(pos) then
+ adjustedPos[centeringAxis] = closestNode.Pos[centeringAxis];
1594
end
+ table.insert(positionsToFixUp, adjustedPos);
1595
1596
1597
-- Clear these points from our move path
0 commit comments