fix: høster med anden afgrøde i tanken vises som 'tøm den' i stedet for 'ingen kan' (1.62.350)
This commit is contained in:
@@ -80,7 +80,8 @@ local function collect()
|
||||
local env = ADFieldJobs.environment ~= nil and ADFieldJobs.environment() or nil
|
||||
if target ~= nil and target ~= "" and env ~= nil and env.plantable ~= nil and not env.plantable(target) then waitFruit = target end
|
||||
end
|
||||
local waitMachine = not active and reason ~= nil and (reason.key == "spu_field_reason_allBusy" or reason.key == "spu_field_reason_cannotDo")
|
||||
local waitMachine = not active and reason ~= nil and (reason.key == "spu_field_reason_allBusy" or reason.key == "spu_field_reason_cannotDo"
|
||||
or reason.key == "spu_field_reason_tankBlocked")
|
||||
table.insert(s.working, {fieldId = info.id, stage = field.stage, active = active, waitFruit = waitFruit, waitMachine = waitMachine})
|
||||
if reason ~= nil and reason.key == "spu_field_reason_noRig" and reason.role ~= nil then
|
||||
if missingByRole[reason.role] == nil then
|
||||
|
||||
Reference in New Issue
Block a user