diff --git a/supervisor/facility.lua b/supervisor/facility.lua index 737f6f9..b7900f7 100644 --- a/supervisor/facility.lua +++ b/supervisor/facility.lua @@ -337,7 +337,7 @@ function facility.new(num_reactors, cooling_conf) local avg_inflow = self.avg_inflow.compute() local avg_outflow = self.avg_outflow.compute() - local now = util.time_s() + local now = os.clock() local state_changed = self.mode ~= self.last_mode local next_mode = self.mode