This commit is contained in:
Navid Sassan 2025-12-09 22:47:22 +01:00
parent 7ebb03f84c
commit 0c2cdae034

View File

@ -865,10 +865,10 @@ local function updateDisplay()
local inputFlow = 0
local outputFlow = 0
pcall(function()
inputFlow = inputGate.getFlowOverride() or 0
inputFlow = inputGate.getFlow() or 0
end)
pcall(function()
outputFlow = outputGate.getFlowOverride() or 0
outputFlow = outputGate.getFlow() or 0
end)
mon.setCursorPos(1, y)
@ -1055,7 +1055,7 @@ local function verifyFluxGates()
local drainRate = info.fieldDrainRate or 0
pcall(function()
inputFlow = inputGate.getFlowOverride() or 0
inputFlow = inputGate.getFlow() or 0
end)
-- Warning if input seems too low for drain rate