summaryrefslogtreecommitdiff
path: root/entities.lua
diff options
context:
space:
mode:
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,