From: Christian Wischenbart Date: Wed, 5 Aug 2015 20:20:41 +0000 (+0200) Subject: Fixed invalid check. This fixes minetest/minetest_game#609 X-Git-Tag: 0.4.13~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=35de5241f457a88928c74eec0a74bc1638c615dd;p=oweals%2Fminetest_game.git Fixed invalid check. This fixes minetest/minetest_game#609 --- diff --git a/mods/doors/init.lua b/mods/doors/init.lua index a5535654..6a5ee24f 100644 --- 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