1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

fix localised string to not exceed limit

This commit is contained in:
grilledham 2019-03-02 14:16:54 +00:00
parent 3e70ef01cb
commit 5f9ceda8e9

View File

@ -947,10 +947,7 @@ local function update_market_upgrade_description(outpost_data)
end
end
str[#str + 1] = ': '
str[#str + 1] = format('%.2f', current_rate)
str[#str + 1] = ' -> '
str[#str + 1] = format('%.2f / sec', next_rate)
str[#str + 1] = concat {': ', format('%.2f', current_rate), ' -> ', format('%.2f / sec', next_rate)}
str[#str + 1] = '\n'
end
str[#str] = nil