Skip to content

Commit 35de524

Browse files
Christian WischenbartEkdohibs
Christian Wischenbart
authored andcommittedAug 11, 2015
Fixed invalid check. This fixes #609
1 parent be4dd64 commit 35de524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎mods/doors/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function doors.register_door(name, def)
129129

130130
local function on_rightclick(pos, dir, check_name, replace, replace_dir, params)
131131
pos.y = pos.y+dir
132-
if not minetest.get_node(pos).name == check_name then
132+
if minetest.get_node(pos).name ~= check_name then
133133
return
134134
end
135135
local p2 = minetest.get_node(pos).param2

0 commit comments

Comments
 (0)
Please sign in to comment.