mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-04-30 13:11:41 -04:00
Xpanes: Use 'swap node' instead of 'set node'
This commit is contained in:
parent
7e16ec7a2f
commit
d99a176b69
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue