updated
This commit is contained in:
@@ -7,10 +7,8 @@ local function report(reactor)
|
||||
end
|
||||
|
||||
local function watch(reactor, monitor)
|
||||
while true do
|
||||
print("Coolant: " .. report(reactor))
|
||||
sleep(1)
|
||||
end
|
||||
print("Coolant: " .. report(reactor))
|
||||
sleep(1)
|
||||
end
|
||||
|
||||
return { report = report, watch = watch }
|
||||
@@ -7,10 +7,8 @@ local function report(reactor)
|
||||
end
|
||||
|
||||
local function watch(reactor, monitor)
|
||||
while true do
|
||||
print("Temperature: " .. report(reactor))
|
||||
sleep(1)
|
||||
end
|
||||
print("Temperature: " .. report(reactor))
|
||||
sleep(1)
|
||||
end
|
||||
|
||||
return { report = report, watch = watch }
|
||||
Reference in New Issue
Block a user