summaryrefslogtreecommitdiff
path: root/entities.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-11-17 18:49:43 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-11-17 18:49:43 -0700
commit1de57191b0afa4df320c4319de0d7ea6b33d2b27 (patch)
tree40e8c9f2982867b225d88d969800f4cd064da6f0 /entities.lua
parent123e470544f2395ef7e06a7cf309c77c2472d128 (diff)
configurable duration for crate markers
Diffstat (limited to 'entities.lua')
-rw-r--r--entities.lua4
1 files changed, 2 insertions, 2 deletions
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,