projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be4dd64
)
Fixed invalid check. This fixes minetest/minetest_game#609
author
Christian Wischenbart
<c.wischenbart@bitoxide.com>
Wed, 5 Aug 2015 20:20:41 +0000
(22:20 +0200)
committer
Novatux
<nathanael.courant@laposte.net>
Tue, 11 Aug 2015 16:56:15 +0000
(18:56 +0200)
mods/doors/init.lua
patch
|
blob
|
history
diff --git
a/mods/doors/init.lua
b/mods/doors/init.lua
index a553565480529ecc59f4e9ab681b56f804986da2..6a5ee24f4075fb1539a6a151e7cc737c1a704fbc 100644
(file)
--- a/
mods/doors/init.lua
+++ b/
mods/doors/init.lua
@@
-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