diff --git a/FS25_ADSmartPickup/gui/SmartPickupFieldTab.lua b/FS25_ADSmartPickup/gui/SmartPickupFieldTab.lua index f2594fa..e534ea9 100644 --- a/FS25_ADSmartPickup/gui/SmartPickupFieldTab.lua +++ b/FS25_ADSmartPickup/gui/SmartPickupFieldTab.lua @@ -239,9 +239,10 @@ function SmartPickupFrame:fillFleetRows(adEnv) row:getDescendantByName("title"):setText(title) row:getDescendantByName("option"):setState(rig.enabled and SmartPickupFrame.STATE_ON or SmartPickupFrame.STATE_OFF, false) if rig.role == "harvester" then - -- for bred til vejene med skærebord: spilleren kører den til marken, moden overtager derfra + -- Ja = må køre selv på vejen (som resten af flåden: ja = må sendes ud); Nej = manuel transport — + -- for bred med skærebord, spilleren kører den til marken (in-game 27/9: omvendt betydning forvirrede) local option = self:addToggleRow("fleetManual", string.format(i18n:getText("spu_field_manualTransport"), tostring(rig.label)), - {i18n:getText("ui_no"), i18n:getText("ui_yes")}, rig.manual) + {i18n:getText("ui_no"), i18n:getText("ui_yes")}, not rig.manual) self.rowData[option] = {kind = "fleetManual", vehicleId = rig.id} end end @@ -288,7 +289,8 @@ function SmartPickupFrame:onClickFieldRow(state, data) elseif data.kind == "fleetMode" then ADFieldJobs.setFleetMode(isOn and "all" or "ticked") elseif data.kind == "fleetManual" then - if ((ADFieldJobs.state.manual or {})[data.vehicleId] == true) ~= isOn then ADFieldJobs.toggleManual(data.vehicleId) end + local wantManual = not isOn -- Ja = kører selv på vejen + if ((ADFieldJobs.state.manual or {})[data.vehicleId] == true) ~= wantManual then ADFieldJobs.toggleManual(data.vehicleId) end end frame:requestRebuild() end) diff --git a/FS25_ADSmartPickup/l10n/l10n_da.xml b/FS25_ADSmartPickup/l10n/l10n_da.xml index 22c9b87..16aee1c 100644 --- a/FS25_ADSmartPickup/l10n/l10n_da.xml +++ b/FS25_ADSmartPickup/l10n/l10n_da.xml @@ -59,7 +59,7 @@ - + diff --git a/FS25_ADSmartPickup/l10n/l10n_en.xml b/FS25_ADSmartPickup/l10n/l10n_en.xml index 178dc45..7e2a64f 100644 --- a/FS25_ADSmartPickup/l10n/l10n_en.xml +++ b/FS25_ADSmartPickup/l10n/l10n_en.xml @@ -59,7 +59,7 @@ - + diff --git a/FS25_ADSmartPickup/modDesc.xml b/FS25_ADSmartPickup/modDesc.xml index 900ae9b..c6e788a 100644 --- a/FS25_ADSmartPickup/modDesc.xml +++ b/FS25_ADSmartPickup/modDesc.xml @@ -1,7 +1,7 @@ masterdraco - 1.38.0.0 + 1.38.1.0 <en>AD Smart Pickup</en>