Fix doors

This commit is contained in:
LeMagnesium 2016-11-14 00:27:51 +01:00
parent d40a65244b
commit 56494fbb56
No known key found for this signature in database
GPG Key ID: A54DDB5272C51E8B
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ function _doors.door_toggle(pos, node, clicker)
--MFF double porte
local b = string.sub(def.name, -1)
local pos2 = doors.get_pos(pos, dir, old, b)
local pos2 = doors.get(pos) --_pos(pos, dir, old, b)
local node = minetest.get_node_or_nil(pos2)
if node and string.sub(node.name, 0, -3) == name then
if b ~= string.sub(node.name, -1) then