1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-23 07:10:19 +01:00

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

This commit is contained in:
mbartlett21 2019-09-07 06:39:23 +10:00 committed by Paramat
parent 7e16ec7a2f
commit d99a176b69

View File

@ -27,7 +27,7 @@ local function swap(pos, node, name, param2)
return return
end end
minetest.set_node(pos, {name = name, param2 = param2}) minetest.swap_node(pos, {name = name, param2 = param2})
end end
local function update_pane(pos) local function update_pane(pos)