Skip to content

Commit fdb1b08

Browse files
Changed output to be multiplied by 100
1 parent 14be5bc commit fdb1b08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

control.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ local function on_tick(event)
7070
for _, combinator in pairs(global.combinators[event.tick % refresh_rate]) do
7171
local count = 0
7272
if combinator.tank and combinator.tank.valid and combinator.tank.fluidbox[1] then
73-
count = combinator.tank.fluidbox[1].temperature
73+
count = combinator.tank.fluidbox[1].temperature * 100
7474
end
7575
combinator.entity.get_or_create_control_behavior().parameters = {
7676
enabled = true,
@@ -148,4 +148,4 @@ script.on_event(defines.events.on_entity_died, on_destroyed)
148148

149149
script.on_event(defines.events.on_tick, on_tick)
150150

151-
script.on_event(defines.events.on_player_rotated_entity, on_rotated)
151+
script.on_event(defines.events.on_player_rotated_entity, on_rotated)

0 commit comments

Comments
 (0)