feat: AD-tur uden flow ved fuldt mål tømmes efter indstillelig tid (1.62.369)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user