mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
Fixed locale table with string concat in market
This commit is contained in:
parent
fe8e3dffe8
commit
4e86ecf0ff
@ -295,7 +295,8 @@ local function redraw_market_items(data)
|
||||
end
|
||||
|
||||
if disabled then
|
||||
insert(tooltip, '\n\n' .. (item.disabled_reason or 'Not available'))
|
||||
insert(tooltip, '\n\n')
|
||||
insert(tooltip, (item.disabled_reason or {'Not available locale string'}))
|
||||
elseif is_missing_coins then
|
||||
insert(tooltip, '\n\n' .. format('Missing %s coins to buy %s', missing_coins, stack_count))
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user