Skip to content

Commit 366b9e0

Browse files
committed
fix messed up check
1 parent cff4c28 commit 366b9e0

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ automoverActorFunctions.centreActorToClosestNodeIfMovingInAppropriateDirection =
15811581
local centeringSpeedAndDistance = self.movementAcceleration * 5;
15821582

15831583
for _, centeringAxis in pairs(centeringAxes) do
1584-
if actor.MovePathSize > 0 and directionConnectingArea == nil ~= nil then
1584+
if actor.MovePathSize > 0 and directionConnectingArea ~= nil then
15851585
-- Collect all points ahead of us in the box to adjust to centre
15861586
local positionsToFixUp = {};
15871587
local stop = false;

0 commit comments

Comments
 (0)