allow pumps to add directly to a vertical "entry panel" also.

This commit is contained in:
Vanessa Ezekowitz 2015-03-02 22:46:48 -05:00
parent 722318040e
commit a11a672eea
1 changed files with 1 additions and 0 deletions

View File

@ -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