mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-30 04:30:58 +02:00
Merge pull request #933 from linaori/fix/diggy-market-locale
Fixed locale table with string concat in market
This commit is contained in:
commit
a5703fa2bb
@ -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