diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2015-02-03 03:44:04 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2015-06-18 12:42:20 -0400 |
commit | 7ed830f0dd3b09e6e45a1e690b5627d21efd2d08 (patch) | |
tree | 844f0e8617f46e2acea7c82ffe7cc63b6ee71731 | |
parent | c7c38d63ba2dc9eb4f13c0966d679b9b3c253b08 (diff) |
return early if snapping valve/sensor to normal facedir
-rw-r--r-- | flowing_logic.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/flowing_logic.lua b/flowing_logic.lua index ae803a5..eea264d 100644 --- a/flowing_logic.lua +++ b/flowing_logic.lua @@ -214,6 +214,7 @@ minetest.register_abm({ if axisdir ~= 0 and axisdir ~= 5 then -- if it isn't horizontal, force it. minetest.swap_node(pos, {name = node.name, param2 = fdir_mod4}) + return end local fdir_to_pos = { |