From 1f24b495d265e2fbc5c5a219aca80fa1a1030004 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 6 Jun 2017 00:18:20 +0200 Subject: [PATCH] Fix rain cloud color --- mods/ENVIRONMENT/weather_pack/rain.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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