.
This commit is contained in:
parent
1f171b0c6e
commit
7ebb03f84c
@ -191,6 +191,11 @@ local function findPeripherals()
|
|||||||
return false
|
return false
|
||||||
end
|
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)
|
-- Connect to monitor (optional)
|
||||||
monitor = peripheral.wrap(CONFIG.monitor_name)
|
monitor = peripheral.wrap(CONFIG.monitor_name)
|
||||||
if monitor then
|
if monitor then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user