also init targetOutput from gate when saved value is 0
This commit is contained in:
+1
-1
@@ -168,7 +168,7 @@ if fs.exists("reactorconfig.txt") then
|
|||||||
load_config()
|
load_config()
|
||||||
end
|
end
|
||||||
|
|
||||||
if not targetOutput then
|
if not targetOutput or targetOutput == 0 then
|
||||||
targetOutput = fluxgate.getSignalLowFlow()
|
targetOutput = fluxgate.getSignalLowFlow()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user