mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-09-27 06:40:36 +02:00
return early if snapping valve/sensor to normal facedir
This commit is contained in:
parent
c7c38d63ba
commit
7ed830f0dd
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user