Skip to content

Commit

Permalink
Using random interval for node timer, like in the on_generated timer …
Browse files Browse the repository at this point in the history
…interval
  • Loading branch information
debagos committed Jan 11, 2024
1 parent 3cad1c0 commit 65d4244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65d4244

Please sign in to comment.