From 65d424423092eb8a03e9dfcd3cc3d745e5bd0823 Mon Sep 17 00:00:00 2001 From: debagos Date: Thu, 11 Jan 2024 12:55:39 +0100 Subject: [PATCH] Using random interval for node timer, like in the on_generated timer interval --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 851cadc..b4288e2 100644 --- a/init.lua +++ b/init.lua @@ -391,7 +391,7 @@ if moretrees.grow_legacy_saplings then run_at_every_load = true, action = function(pos) minetest.log("info", "[moretrees] Starting growth timer for legacy ongen sapling at "..minetest.pos_to_string(pos, 0)) - minetest.get_node_timer(pos):start(2) + minetest.get_node_timer(pos):start(math.random(2, 10)) end }) end