Using random interval for node timer, like in the on_generated timer interval

This commit is contained in:
debagos 2024-01-11 12:55:39 +01:00
parent 3cad1c0bef
commit 65d4244230
1 changed files with 1 additions and 1 deletions

View File

@ -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