Skip to content
Snippets Groups Projects
Commit 2cd1a14e authored by Duane Robertson's avatar Duane Robertson
Browse files

Add minimum fill ratio.

parent 35d3ee9f
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ do
deco.fill_ratio = odeco.fill_ratio
if odeco.noise_params then
deco.fill_ratio = (odeco.noise_params.scale + odeco.noise_params.offset)
deco.fill_ratio = math.min(0.001, odeco.noise_params.scale + odeco.noise_params.offsetb)
end
local nod = minetest.registered_nodes[deco.decoration]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment