From 494c41c167e8de34fab16490c8697193d74c895c Mon Sep 17 00:00:00 2001 From: "Tai @ Flex" Date: Sat, 24 Sep 2016 21:27:08 +0100 Subject: [PATCH] adjust time --- doorcloser/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doorcloser/init.lua b/doorcloser/init.lua index 656de30..6c5115c 100644 --- a/doorcloser/init.lua +++ b/doorcloser/init.lua @@ -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