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

Modify snowfall abm.

This commit is contained in:
Splizard 2012-12-19 17:53:33 +13:00
parent 2ae3e27248
commit 6109a4946f

View File

@ -526,7 +526,7 @@ if snow.enable_snowfall then
minetest.register_abm({
nodenames = {"default:dirt_with_grass", "default:desert_sand", "snow:moss"},
interval = 50,
chance = 100,
chance = 150,
action = function(pos, node, active_object_count, active_object_count_wider)
--Check we are in the right biome
local env = minetest.env