feat: færdige kontrakter indkasseres selv; AD Fold implements slås til ved start (1.62.349)

This commit is contained in:
2026-10-19 00:15:40 +02:00
parent fa67b9247b
commit 9863e311eb
8 changed files with 100 additions and 2 deletions
+1
View File
@@ -1254,6 +1254,7 @@ local function applyAndStart(adEnv, run, vehicle, ingredients)
stateModule:setActualFarmId(farmId)
end
stateModule:setLoopsDone(0)
if ADFieldWork ~= nil and ADFieldWork.enableFoldImplements ~= nil then pcall(ADFieldWork.enableFoldImplements, vehicle) end
local mode = stateModule.getCurrentMode ~= nil and stateModule:getCurrentMode() or nil
if mode ~= nil and mode.start ~= nil then
mode:start(adEnv.AutoDrive.USER_PLAYER or 1)