Fix rain sound failure when moving very fast

This commit is contained in:
Wuzzy 2017-11-22 02:01:40 +01:00
parent 3df64d9426
commit bbb6900d4a
1 changed files with 1 additions and 2 deletions

View File

@ -20,8 +20,7 @@ mcl_weather.rain = {
mcl_weather.rain.sound_handler = function(player) mcl_weather.rain.sound_handler = function(player)
return minetest.sound_play("weather_rain", { return minetest.sound_play("weather_rain", {
object = player, to_player = player,
max_hear_distance = 2,
loop = true, loop = true,
}) })
end end