diff --git a/mods/ENVIRONMENT/weather_pack/rain.lua b/mods/ENVIRONMENT/weather_pack/rain.lua index 2045c7fadf..6c505038a6 100644 --- a/mods/ENVIRONMENT/weather_pack/rain.lua +++ b/mods/ENVIRONMENT/weather_pack/rain.lua @@ -33,6 +33,9 @@ rain.set_sky_box = function() {r=85, g=86, b=98}, {r=0, g=0, b=0}}) skycolor.active = true + for _, player in pairs(minetest.get_connected_players()) do + player:set_clouds({color="#3D3D3FE8"}) + end end -- creating manually parctiles instead of particles spawner because of easier to control @@ -133,6 +136,7 @@ rain.clear = function() rain.init_done = false skycolor.remove_layer("weather-pack-rain-sky") for _, player in ipairs(minetest.get_connected_players()) do + player:set_clouds({color="#FFF0FEF"}) rain.remove_sound(player) rain.remove_player(player) end diff --git a/mods/ENVIRONMENT/weather_pack/skycolor.lua b/mods/ENVIRONMENT/weather_pack/skycolor.lua index d927b45a19..e7f8b11d2d 100644 --- a/mods/ENVIRONMENT/weather_pack/skycolor.lua +++ b/mods/ENVIRONMENT/weather_pack/skycolor.lua @@ -218,7 +218,7 @@ local initsky = function(player) end -- MC-style clouds: Layer 127, thickness 4, fly to the “West” - player:set_clouds({height=mcl_util.layer_to_y(127), speed={x=-2, y=0}, thickness=4}) + player:set_clouds({height=mcl_util.layer_to_y(127), speed={x=-2, y=0}, thickness=4, color="#FFF0FEF"}) end minetest.register_on_joinplayer(initsky)