.
This commit is contained in:
parent
7ebb03f84c
commit
0c2cdae034
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user