From: oilboi <47129783+oilboi@users.noreply.github.com> Date: Mon, 22 Jun 2020 18:07:34 +0000 (-0400) Subject: Fix rain sound not restarting X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=f7dc0a57c92ed93f39e15e379d4a070527ff507a;p=crafter_client.git Fix rain sound not restarting --- diff --git a/weather_handling.lua b/weather_handling.lua index bd09531..40ceb50 100644 --- a/weather_handling.lua +++ b/weather_handling.lua @@ -55,6 +55,7 @@ local weather_effects = function(player,defined_type) minetest.sound_fade(rain_sound_handle, 0.5, 1) elseif curr_light < 15 and rain_sound_handle then minetest.sound_fade(rain_sound_handle, -0.5, 0) + rain_sound_handle = nil end end