summaryrefslogtreecommitdiff
path: root/new_flow_logic/flowable_node_registry.lua
diff options
context:
space:
mode:
Diffstat (limited to 'new_flow_logic/flowable_node_registry.lua')
-rw-r--r--new_flow_logic/flowable_node_registry.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/new_flow_logic/flowable_node_registry.lua b/new_flow_logic/flowable_node_registry.lua
index 3cb2a67..1465561 100644
--- a/new_flow_logic/flowable_node_registry.lua
+++ b/new_flow_logic/flowable_node_registry.lua
@@ -51,7 +51,6 @@ local checkbase = function(nodename)
end
-- Register a node as a simple intake.
--- See new_flow_logic for the details of this.
-- Expects node to be registered as a flowable (is present in flowables.list.all),
-- so that water can move out of it.
-- maxpressure is the maximum pipeline pressure that this node can drive.
@@ -61,6 +60,6 @@ register.intake_simple = function(nodename, maxpressure)
pipeworks.flowables.inputs.list[nodename] = { maxpressure=maxpressure }
table.insert(pipeworks.flowables.inputs.nodenames, nodename)
if pipeworks.enable_new_flow_logic then
- abmregister.input(nodename, maxpressure)
+ abmregister.input(nodename, maxpressure, pipeworks.flowlogic.check_for_liquids_v2)
end
end