From 31741e33e20c2ed366f80c01c7d6b4a6a23e0d4c Mon Sep 17 00:00:00 2001 From: thetaepsilon-gamedev Date: Sun, 1 Oct 2017 00:00:33 +0100 Subject: new_flow_logic/abms.lua: run_pump_intake(): use passed-in maxpressure instead of table lookup, pass through in abm_register.lua --- new_flow_logic/abm_register.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'new_flow_logic/abm_register.lua') diff --git a/new_flow_logic/abm_register.lua b/new_flow_logic/abm_register.lua index e7bed6a..505ca4b 100644 --- a/new_flow_logic/abm_register.lua +++ b/new_flow_logic/abm_register.lua @@ -30,7 +30,7 @@ local register_abm_input = function(nodename, maxpressure) interval = 1, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) - pipeworks.flowlogic.run_pump_intake(pos, node) + pipeworks.flowlogic.run_pump_intake(pos, node, maxpressure) end }) end -- cgit v1.2.3