auto only when reactor on

This commit is contained in:
nessar committed 2022-12-25 02:25:19 +01:00
1 parent 652248bf69
commit 81ea3d81a1
1 file changed
+1 -1
+1 -1
View File
@@ -156,7 +156,7 @@ end
local function autoInj()
while true do
if auto then
if auto and data.reactor_on then
update_data()
last_reactor_heatedCoolent = last_reactor_heatedCoolent or data.reactor_heatedCoolent
if data.reactor_heatedCoolent == 0 then