mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2024-12-28 23:40:17 +01:00
parent
020ef2fa49
commit
30b0dd9557
@ -106,7 +106,9 @@ local function cold_perlin_test(x, y)
|
|||||||
end
|
end
|
||||||
|
|
||||||
v = minetest.get_perlin(112,3, 0.5, perlin_scale):get2d({x=x, y=y}) >= rarity
|
v = minetest.get_perlin(112,3, 0.5, perlin_scale):get2d({x=x, y=y}) >= rarity
|
||||||
cold_perl_values[y][x] = v
|
if cold_perl_values[y] then
|
||||||
|
cold_perl_values[y][x] = v
|
||||||
|
end
|
||||||
return v
|
return v
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user