.
This commit is contained in:
parent
7ebb03f84c
commit
0c2cdae034
@ -865,10 +865,10 @@ local function updateDisplay()
|
|||||||
local inputFlow = 0
|
local inputFlow = 0
|
||||||
local outputFlow = 0
|
local outputFlow = 0
|
||||||
pcall(function()
|
pcall(function()
|
||||||
inputFlow = inputGate.getFlowOverride() or 0
|
inputFlow = inputGate.getFlow() or 0
|
||||||
end)
|
end)
|
||||||
pcall(function()
|
pcall(function()
|
||||||
outputFlow = outputGate.getFlowOverride() or 0
|
outputFlow = outputGate.getFlow() or 0
|
||||||
end)
|
end)
|
||||||
|
|
||||||
mon.setCursorPos(1, y)
|
mon.setCursorPos(1, y)
|
||||||
@ -1055,7 +1055,7 @@ local function verifyFluxGates()
|
|||||||
local drainRate = info.fieldDrainRate or 0
|
local drainRate = info.fieldDrainRate or 0
|
||||||
|
|
||||||
pcall(function()
|
pcall(function()
|
||||||
inputFlow = inputGate.getFlowOverride() or 0
|
inputFlow = inputGate.getFlow() or 0
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Warning if input seems too low for drain rate
|
-- Warning if input seems too low for drain rate
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user