diff --git a/mods/ENVIRONMENT/weather_pack/rain.lua b/mods/ENVIRONMENT/weather_pack/rain.lua index 6c505038a6..f8712fa98c 100644 --- a/mods/ENVIRONMENT/weather_pack/rain.lua +++ b/mods/ENVIRONMENT/weather_pack/rain.lua @@ -93,6 +93,7 @@ rain.remove_player = function(player) local player_meta = weather.players[player:get_player_name()] if player_meta ~= nil and player_meta.origin_sky ~= nil then player:set_sky(player_meta.origin_sky[1], player_meta.origin_sky[2], player_meta.origin_sky[3]) + player:set_clouds({color="#FFF0F0E5"}) weather.players[player:get_player_name()] = nil end end @@ -136,7 +137,6 @@ 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