1
0
mirror of https://github.com/Splizard/minetest-mod-snow.git synced 2024-12-28 23:40:17 +01:00

attempt to fix #20

M  src/falling_snow.lua
This commit is contained in:
HybridDog 2016-08-16 10:30:08 +02:00
parent 020ef2fa49
commit 30b0dd9557

View File

@ -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