diff options
author | root <root@linuxworks.belug.de> | 2017-11-11 11:26:39 +0100 |
---|---|---|
committer | root <root@linuxworks.belug.de> | 2017-11-11 11:26:39 +0100 |
commit | aee5397c713c84ac37d85d55c14122f5214eac3b (patch) | |
tree | 4055f32fab07863ead3c292d2077eccf1235c574 /flowing_logic.lua | |
parent | 31a6107b82ba1373289423b414b54b2818e61f3c (diff) | |
parent | 8fa259c93fbef467822f710a33537a76f608b7cb (diff) |
Merge branch 'master' of https://github.com/minetest-mods/pipeworks
Diffstat (limited to 'flowing_logic.lua')
-rw-r--r-- | flowing_logic.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/flowing_logic.lua b/flowing_logic.lua index 632baa6..0c80a77 100644 --- a/flowing_logic.lua +++ b/flowing_logic.lua @@ -44,7 +44,8 @@ pipeworks.check_for_inflows = function(pos,node) source = minetest.get_meta(coords[i]):get_string("source") if source == minetest.pos_to_string(pos) then break end end - if string.find(name, "valve") or string.find(name, "sensor") then + if string.find(name, "valve") or string.find(name, "sensor") + or string.find(name, "straight_pipe") or string.find(name, "panel") then if ((i == 3 or i == 4) and minetest.facedir_to_dir(testnode.param2).x ~= 0) or ((i == 5 or i == 6) and minetest.facedir_to_dir(testnode.param2).z ~= 0) |