fix(flows): flow der ikke er stoppet og har kørende traktorer tæller som kørende efter genindlæsning — listen viste [Start] ved kørende flows (v1.59.2.0)

This commit is contained in:
2026-09-29 17:59:11 +02:00
parent 07dada58a9
commit 9b5d71b180
3 changed files with 11 additions and 2 deletions
+3 -1
View File
@@ -1293,7 +1293,9 @@ function ADRunsController.getRunStatus(adEnv, run)
running = running + 1
end
end
local isRunning = ADRunsController.runningRuns[run.id] == true and running > 0
-- startet fra fanen i denne session ELLER ikke stoppet af spilleren (efter genindlæsning er runningRuns tom,
-- men traktorerne kører videre — in-game 29/9: listen viste [Start] ved kørende flows)
local isRunning = (ADRunsController.runningRuns[run.id] == true or run.stopped == false) and running > 0
if ADRunsController.runningRuns[run.id] and running == 0 then
ADRunsController.runningRuns[run.id] = nil
end
+1 -1
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<modDesc descVersion="107">
<author>masterdraco</author>
<version>1.59.1.0</version>
<version>1.59.2.0</version>
<title>
<en>AD Smart Pickup</en>
</title>