mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-23 06:32:25 +01:00
Xpanes: Use 'swap node' instead of 'set node'
This commit is contained in:
parent
7e16ec7a2f
commit
d99a176b69
@ -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…
Reference in New Issue
Block a user