From 1de57191b0afa4df320c4319de0d7ea6b33d2b27 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Fri, 17 Nov 2017 18:49:43 -0700 Subject: configurable duration for crate markers --- entities.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'entities.lua') diff --git a/entities.lua b/entities.lua index cafe962..1a95cf6 100644 --- a/entities.lua +++ b/entities.lua @@ -60,7 +60,7 @@ minetest.register_entity("digtron:marker_crate_good", { }, on_activate = function(self, staticdata) - minetest.after(5.0, + minetest.after(digtron.config.marker_crate_good_duration, function(self) self.object:remove() end, @@ -86,7 +86,7 @@ minetest.register_entity("digtron:marker_crate_bad", { }, on_activate = function(self, staticdata) - minetest.after(5.0, + minetest.after(digtron.config.marker_crate_bad_duration, function(self) self.object:remove() end, -- cgit v1.2.3