diff --git a/de_react_auto b/de_react_auto index c812267..04a66b3 100644 --- a/de_react_auto +++ b/de_react_auto @@ -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