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:
parent
3e70ef01cb
commit
5f9ceda8e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user