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:
parent
2e7da62f70
commit
68ccbfa54a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user