feat: vare uden køber som gården selv bruger vises som 'bruges selv'

This commit is contained in:
2026-10-20 08:28:38 +02:00
parent 8c89e159d5
commit 08226e1f5d
7 changed files with 13 additions and 3 deletions
@@ -97,7 +97,7 @@ function SmartPickupFrame:statCells(stat)
here = string.format(i18n:getText("spu_stat_pallets"), stat.count, stat.slots)
end
if stat.percent ~= nil then here = here .. string.format(" %d %%", stat.percent) end
local now, top = i18n:getText("spu_stat_noSell"), ""
local now, top = i18n:getText(ADStorageStats.noValueKey(stat)), ""
if stat.valueNow ~= nil then
now, top = SmartPickupFrame.formatMoney(stat.valueNow), SmartPickupFrame.formatMoney(stat.valueTop)
end