summaryrefslogtreecommitdiff
path: root/new_flow_logic/flowable_node_registry.lua
diff options
context:
space:
mode:
authorthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-10-01 13:00:41 +0100
committerthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-10-01 13:00:41 +0100
commit3a1edac06ce193179b58ffcd055b492839d30018 (patch)
tree7b634a09df873b3206ab31ec4fd861de70a25320 /new_flow_logic/flowable_node_registry.lua
parente615a1013b621daff64500fb74a6202fdca0093f (diff)
downloadpipeworks-3a1edac06ce193179b58ffcd055b492839d30018.tar
pipeworks-3a1edac06ce193179b58ffcd055b492839d30018.tar.gz
pipeworks-3a1edac06ce193179b58ffcd055b492839d30018.tar.bz2
pipeworks-3a1edac06ce193179b58ffcd055b492839d30018.tar.xz
pipeworks-3a1edac06ce193179b58ffcd055b492839d30018.zip
new flow logic: register_local_pipes.lua: make spigots work again
Diffstat (limited to 'new_flow_logic/flowable_node_registry.lua')
-rw-r--r--new_flow_logic/flowable_node_registry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/new_flow_logic/flowable_node_registry.lua b/new_flow_logic/flowable_node_registry.lua
index f3548a4..f2ebdcb 100644
--- a/new_flow_logic/flowable_node_registry.lua
+++ b/new_flow_logic/flowable_node_registry.lua
@@ -76,7 +76,7 @@ register.output = function(nodename, threshold, outputfn)
checkbase(nodename)
pipeworks.flowables.outputs.list[nodename] = { threshold=threshold, outputfn=outputfn }
if pipeworks.enable_new_flow_logic then
- abmregister.output(nodename, maxpressure, outputfn)
+ abmregister.output(nodename, threshold, outputfn)
end
end