Skip to content

Commit b9fe571

Browse files
committed
Merge branch 'development' into browncoat-mission
2 parents b600816 + 0b29e5e commit b9fe571

File tree

1 file changed

+3
-4
lines changed
  • Data/Base.rte/Scenes/Objects/Bunkers/BunkerSystems/Automovers/Controller

1 file changed

+3
-4
lines changed

Data/Base.rte/Scenes/Objects/Bunkers/BunkerSystems/Automovers/Controller/Controller.lua

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,11 +1587,10 @@ automoverActorFunctions.centreActorToClosestNodeIfMovingInAppropriateDirection =
15871587
local stop = false;
15881588
for pos in actor.MovePath do
15891589
local adjustedPos = pos;
1590-
adjustedPos[centeringAxis] = closestNode.Pos[centeringAxis];
1591-
table.insert(positionsToFixUp, adjustedPos);
1592-
if not directionConnectingArea:IsInside(pos) then
1593-
break;
1590+
if directionConnectingArea:IsInside(pos) then
1591+
adjustedPos[centeringAxis] = closestNode.Pos[centeringAxis];
15941592
end
1593+
table.insert(positionsToFixUp, adjustedPos);
15951594
end
15961595

15971596
-- Clear these points from our move path

0 commit comments

Comments
 (0)