fix(udsendelse): fælles udsendelsesport for Start alle, markarbejde, marksiloer og flow-genstart; én indstilling under Indstillinger (v1.62.237)
This commit is contained in:
@@ -1690,24 +1690,26 @@ function ADSmartPickup:update(dt)
|
||||
if ADOutbound ~= nil and ADOutbound.releaseInactive ~= nil then
|
||||
pcall(ADOutbound.releaseInactive)
|
||||
end
|
||||
if ADLaunchGate ~= nil then ADLaunchGate.tick(dt) end
|
||||
if ADRunsController ~= nil and ADRunsController.processStartQueue ~= nil then
|
||||
pcall(ADRunsController.processStartQueue, getAutoDriveEnv(), dt)
|
||||
end
|
||||
if ADRunsController ~= nil and ADRunsController.applyVehicleNamesThrottled ~= nil then
|
||||
pcall(ADRunsController.applyVehicleNamesThrottled, getAutoDriveEnv(), dt)
|
||||
end
|
||||
if ADFieldJobs ~= nil then
|
||||
local okFields, errFields = pcall(ADFieldJobs.tick, getAutoDriveEnv(), dt)
|
||||
if not okFields then
|
||||
Logging.warning(ADSmartPickup.LOG_PREFIX .. "markarbejde fejlede: %s", tostring(errFields))
|
||||
end
|
||||
end
|
||||
-- marksiloer før markarbejdet: venter de på udsendelsesporten, får de den først (markarbejdet tjekker hvert sekund)
|
||||
if ADFieldSilos ~= nil then
|
||||
local okSilos, errSilos = pcall(ADFieldSilos.tick, getAutoDriveEnv(), dt)
|
||||
if not okSilos then
|
||||
Logging.warning(ADSmartPickup.LOG_PREFIX .. "marksilo-flow fejlede: %s", tostring(errSilos))
|
||||
end
|
||||
end
|
||||
if ADFieldJobs ~= nil then
|
||||
local okFields, errFields = pcall(ADFieldJobs.tick, getAutoDriveEnv(), dt)
|
||||
if not okFields then
|
||||
Logging.warning(ADSmartPickup.LOG_PREFIX .. "markarbejde fejlede: %s", tostring(errFields))
|
||||
end
|
||||
end
|
||||
if ADChain ~= nil then
|
||||
local okChain, errChain = pcall(ADChain.tick, getAutoDriveEnv(), dt)
|
||||
if not okChain then
|
||||
|
||||
Reference in New Issue
Block a user