adjust time

This commit is contained in:
Tai @ Flex 2016-09-24 21:27:08 +01:00
parent 0dbde42cac
commit 494c41c167

View File

@ -75,7 +75,7 @@ doorcloser.autoclose = function(doorname)
doordef.on_rightclick = function(pos,clicker)
originalrc(pos,clicker)
if minetest.get_node(pos).name:sub(-2) == "_b" then
minetest.after(1.0, function()
minetest.after(5.0, function()
if minetest.get_node(pos).name:sub(-2) == "_b" then -- player might have closed it themselves
toggledoor(pos)
end