also init targetOutput from gate when saved value is 0

This commit is contained in:
2026-07-18 21:24:11 +02:00
parent 7ad6cecaa3
commit 34e0117626
+1 -1
View File
@@ -168,7 +168,7 @@ if fs.exists("reactorconfig.txt") then
load_config()
end
if not targetOutput then
if not targetOutput or targetOutput == 0 then
targetOutput = fluxgate.getSignalLowFlow()
end