1
0
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:
Lynn 2019-05-30 17:53:58 +02:00 committed by GitHub
commit a5703fa2bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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