forked from mtcontrib/minetest-mod-snow
parent
020ef2fa49
commit
30b0dd9557
@ -106,7 +106,9 @@ local function cold_perlin_test(x, y)
|
||||
end
|
||||
|
||||
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
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user