mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2024-12-29 16:00:16 +01:00
Speed up alpine generation.
This commit is contained in:
parent
007535d4a5
commit
4835a2b7f5
@ -155,7 +155,7 @@ if maxp.y >= -10 then
|
|||||||
pr = PseudoRandom(seed+68)
|
pr = PseudoRandom(seed+68)
|
||||||
|
|
||||||
if alpine then
|
if alpine then
|
||||||
trees = env:find_nodes_in_area(minp, maxp, {"default:leaves","default:tree"})
|
local trees = env:find_nodes_in_area(minp, maxp, {"default:leaves","default:tree"})
|
||||||
for i,v in pairs(trees) do
|
for i,v in pairs(trees) do
|
||||||
env:remove_node(v)
|
env:remove_node(v)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user