Skip to content
Snippets Groups Projects
Commit d99a176b authored by mbartlett21's avatar mbartlett21 Committed by Paramat
Browse files

Xpanes: Use 'swap node' instead of 'set node'

parent 7e16ec7a
Branches
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ local function swap(pos, node, name, param2)
return
end
minetest.set_node(pos, {name = name, param2 = param2})
minetest.swap_node(pos, {name = name, param2 = param2})
end
local function update_pane(pos)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment