Skip to content

Commit 847a794

Browse files
committed
Fixed lua console spam with automovers
1 parent 5bfe276 commit 847a794

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,6 +1080,7 @@ automoverActorFunctions.updateDirectionsFromWaypoints = function(self, actorData
10801080
elseif waypointData.setupActorWaypointDataCoroutine ~= nil and coroutine.status(waypointData.setupActorWaypointDataCoroutine) ~= "dead" then
10811081
coroutine.resume(waypointData.setupActorWaypointDataCoroutine, self, actorData);
10821082
else
1083+
waypointData.setupActorWaypointDataCoroutine = nil;
10831084
if actorData.movementMode == self.movementModes.freeze then
10841085
actorData.movementMode = self.movementModes.move;
10851086
end

0 commit comments

Comments
 (0)