diff --git a/mods/ENVIRONMENT/mcl_weather/rain.lua b/mods/ENVIRONMENT/mcl_weather/rain.lua index c40b69ef..a19f2221 100644 --- a/mods/ENVIRONMENT/mcl_weather/rain.lua +++ b/mods/ENVIRONMENT/mcl_weather/rain.lua @@ -86,17 +86,16 @@ mcl_weather.register_weather("rain",{ } }, start = function() mcl_weather.rain.raining = true end, - start_player = function(name) end, clear = function() mcl_weather.rain.raining = false end, at_pos = function(pos) local biome=minetest.get_biome_data(pos) - if mcl_worlds.has_weather(pos) and biome.heat > 15 and biome.heat < 95 then + if mcl_worlds.has_weather(pos) and biome.heat > 95 then return true end end, - change_at_pos = function(pos) + change_at_pos=function(pos) local biome=minetest.get_biome_data(pos) - if mcl_worlds.has_weather(pos) and biome.heat < 15 then + if mcl_worlds.has_weather(pos) and ( biome.heat < 15 or pos.y > 64 ) then return "snow" end end