mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-02 20:10:04 -04:00
parent
14ee61ab92
commit
ea62c801d5
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ function doors.register_door(name, def)
|
|||
|
||||
local function on_rightclick(pos, dir, check_name, replace, replace_dir, params)
|
||||
pos.y = pos.y+dir
|
||||
if not minetest.get_node(pos).name == check_name then
|
||||
if minetest.get_node(pos).name ~= check_name then
|
||||
return
|
||||
end
|
||||
local p2 = minetest.get_node(pos).param2
|
||||
|
|
Loading…
Add table
Reference in a new issue