Fix rain sound failure when moving very fast
This commit is contained in:
parent
3df64d9426
commit
bbb6900d4a
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue