1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-07-17 01:32:31 +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:
Lynn
2019-05-30 17:53:58 +02:00
committed by GitHub

View File

@ -295,7 +295,8 @@ local function redraw_market_items(data)
end end
if disabled then 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 elseif is_missing_coins then
insert(tooltip, '\n\n' .. format('Missing %s coins to buy %s', missing_coins, stack_count)) insert(tooltip, '\n\n' .. format('Missing %s coins to buy %s', missing_coins, stack_count))
end end