Skip to content

Commit 48a9738

Browse files
authored
ensure obfuscated value is printed properly
1 parent 5b12b1e commit 48a9738

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/lua/buildingplan/itemselection.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ function ItemSelection:get_choices(sort_fn)
295295
local obfuscated_value = caravan.obfuscate_value(data.value)
296296
choice.text = {
297297
{width=8, text=function() return ('%d/%d'):format(data.selected, data.quantity) end},
298-
{width=9, gap=2, text=function() return ('%d%s'):format(obfuscated_value, caravan.CH_MONEY) end},
298+
{width=9, gap=2, text=function() return ('%s%s'):format(obfuscated_value, caravan.CH_MONEY) end},
299299
{gap=2, text=data.desc},
300300
}
301301
table.insert(choices, choice)

0 commit comments

Comments
 (0)