forked from VoxeLibre/VoxeLibre
Fix rain sound failure when moving very fast
This commit is contained in:
parent
3df64d9426
commit
bbb6900d4a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue