feat: AD-tur uden flow ved fuldt mål tømmes efter indstillelig tid (1.62.369)

This commit is contained in:
2026-10-19 11:25:44 +02:00
parent 95e69aa662
commit 62fb486fc0
10 changed files with 132 additions and 3 deletions
+4
View File
@@ -2018,6 +2018,10 @@ function ADSmartPickup:update(dt)
local okHead, errHead = pcall(ADHeadOn.tick, getAutoDriveEnv(), dt)
if not okHead then Logging.warning(ADSmartPickup.LOG_PREFIX .. "modkørsel fejlede: %s", tostring(errHead)) end
end
if ADStrayUnload ~= nil then
local okStray, errStray = pcall(ADStrayUnload.tick, getAutoDriveEnv(), dt)
if not okStray then Logging.warning(ADSmartPickup.LOG_PREFIX .. "fuldt mål fejlede: %s", tostring(errStray)) end
end
if ADUnloadKick ~= nil then
local okKick, errKick = pcall(ADUnloadKick.tick, getAutoDriveEnv(), dt)
if not okKick then Logging.warning(ADSmartPickup.LOG_PREFIX .. "aflæsnings-skub fejlede: %s", tostring(errKick)) end