#118 bugfixes with cleanup

This commit is contained in:
Mikayla Fischler
2023-02-24 23:59:39 -05:00
parent b7895080cb
commit 16d6372d7b
6 changed files with 23 additions and 23 deletions

View File

@@ -292,7 +292,7 @@ function facility.new(num_reactors, cooling_conf)
if state_changed then
self.saturated = false
log.debug("FAC: state changed from " .. PROCESS_NAMES[self.last_mode] .. " to " .. PROCESS_NAMES[self.mode])
log.debug("FAC: state changed from " .. PROCESS_NAMES[self.last_mode + 1] .. " to " .. PROCESS_NAMES[self.mode + 1])
if (self.last_mode == PROCESS.INACTIVE) or (self.last_mode == PROCESS.GEN_RATE_FAULT_IDLE) then
self.start_fail = START_STATUS.OK