This commit is contained in:
Navid Sassan 2025-12-09 22:44:05 +01:00
parent 1f171b0c6e
commit 7ebb03f84c

View File

@ -191,6 +191,11 @@ local function findPeripherals()
return false
end
-- Enable override mode on flux gates (required for setFlowOverride to work)
pcall(function() inputGate.setOverrideEnabled(true) end)
pcall(function() outputGate.setOverrideEnabled(true) end)
print("Flux gate overrides enabled")
-- Connect to monitor (optional)
monitor = peripheral.wrap(CONFIG.monitor_name)
if monitor then