summaryrefslogtreecommitdiff
path: root/pipeworks
diff options
context:
space:
mode:
Diffstat (limited to 'pipeworks')
-rw-r--r--pipeworks/autoplace_tubes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pipeworks/autoplace_tubes.lua b/pipeworks/autoplace_tubes.lua
index a3a6aee..40a041f 100644
--- a/pipeworks/autoplace_tubes.lua
+++ b/pipeworks/autoplace_tubes.lua
@@ -122,7 +122,7 @@ end
-- when they are updated.
function pipeworks.on_rotate(pos, node, user, mode, new_param2)
node.param2 = new_param2
- minetest.set_node(pos, node)
+ minetest.swap_node(pos, node)
pipeworks.scan_for_tube_objects(pos)
return true
end