mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-11-14 06:20:33 +01:00
allow pumps to add directly to a vertical "entry panel" also.
This commit is contained in:
parent
722318040e
commit
a11a672eea
|
@ -144,6 +144,7 @@ minetest.register_abm({
|
|||
local node_level_above = meta:get_float("liquid_level")
|
||||
if node_level_above == nil then node_level_above = 0 end
|
||||
local pipe_name = string.match(node_above.name, "pipeworks:pipe_%d.*_")
|
||||
or (node_above.name == "pipeworks:entry_panel" and node_above.param2 == 13)
|
||||
|
||||
if pipe_name then
|
||||
if node.name == "pipeworks:pump_on" then
|
||||
|
|
Loading…
Reference in New Issue
Block a user