1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-12 02:28:02 +02:00

fixed math.floor(temp)

This commit is contained in:
Maik Wild 2017-12-25 04:07:35 +01:00
parent 2e7da62f70
commit 68ccbfa54a

View File

@ -54,7 +54,7 @@ end
local function alert(reactor)
for _,p in pairs(game.players) do
p.add_custom_alert(reactor, {type="item", name="nuclear-reactor"}, string.format("Reactor at %s°C", reactor.temperature), true)
p.add_custom_alert(reactor, {type="item", name="nuclear-reactor"}, string.format("Reactor at %s°C", math.floor(reactor.temperature)), true)
end
end