From 34e01176260dd1e45ab9e2412f1bf52b93225807 Mon Sep 17 00:00:00 2001 From: code002lover Date: Sat, 18 Jul 2026 21:24:11 +0200 Subject: [PATCH] also init targetOutput from gate when saved value is 0 --- reactor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactor.lua b/reactor.lua index d0713ec..7b8e32a 100644 --- a/reactor.lua +++ b/reactor.lua @@ -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