#173 dump excess steam on opening emergency coolant

This commit is contained in:
Mikayla Fischler
2023-02-25 14:11:40 -05:00
parent 523ac91c3b
commit fbb992ff12
8 changed files with 43 additions and 17 deletions

View File

@@ -523,7 +523,7 @@ function unit.new(reactor_id, num_boilers, num_turbines)
---@nodiscard
---@return integer lim_br100
function public.a_get_effective_limit()
if not self.db.control.ready or self.db.control.degraded or self.plc_cache.rps_trip then
if (not self.db.control.ready) or self.db.control.degraded or self.plc_cache.rps_trip then
self.db.control.br100 = 0
return 0
else