diff --git a/FS25_ADSmartPickup/gui/SmartPickupFieldSiloTab.lua b/FS25_ADSmartPickup/gui/SmartPickupFieldSiloTab.lua index df14d25..06aa004 100644 --- a/FS25_ADSmartPickup/gui/SmartPickupFieldSiloTab.lua +++ b/FS25_ADSmartPickup/gui/SmartPickupFieldSiloTab.lua @@ -77,8 +77,8 @@ function SmartPickupFrame:fillFieldSiloRows(adEnv) local state = i18n:getText("spu_fs_state_" .. entry.state) if entry.state == "noFarmStore" then state = string.format(state, title) end if entry.toProduction then state = state .. " " .. i18n:getText("spu_fs_toFactory") end - self:addCellRow(self.fieldPrefab, {tostring(entry.siloName), title, string.format("%d", math.floor(entry.liters)), - string.format("%d", math.floor(entry.onWay)), state, ""}) + self:addCellRow(self.fieldPrefab, {tostring(entry.siloName), title, SmartPickupFrame.formatCompact(entry.liters or 0), + SmartPickupFrame.formatCompact(entry.onWay or 0), state, ""}) end end diff --git a/FS25_ADSmartPickup/l10n/l10n_en.xml b/FS25_ADSmartPickup/l10n/l10n_en.xml index 6abee4e..4ec628a 100644 --- a/FS25_ADSmartPickup/l10n/l10n_en.xml +++ b/FS25_ADSmartPickup/l10n/l10n_en.xml @@ -527,7 +527,7 @@ - + diff --git a/FS25_ADSmartPickup/modDesc.xml b/FS25_ADSmartPickup/modDesc.xml index 668e897..b64e4b1 100644 --- a/FS25_ADSmartPickup/modDesc.xml +++ b/FS25_ADSmartPickup/modDesc.xml @@ -1,7 +1,7 @@ masterdraco - 1.59.9.0 + 1.59.10.0 <en>AD Smart Pickup</en>