mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2024-12-28 23:40:17 +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)
|
||||
|
||||
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
|
||||
env:remove_node(v)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user