update biome_lib yet again

This commit is contained in:
Vanessa Dannenberg 2021-04-01 09:04:09 -04:00
parent 5b0ea61585
commit 13693e3502

View File

@ -353,7 +353,7 @@ function biome_lib:populate_surfaces(biome, nodes_or_function_or_model, snodes,
return 0 return 0
end end
for i = 1, math.min(biome.max_count/25, num_in_biome_nodes) do for i = 1, math.min(math.ceil(biome.max_count/25), num_in_biome_nodes) do
local tries = 0 local tries = 0
local spawned = false local spawned = false
while tries < 2 and not spawned do while tries < 2 and not spawned do