mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-02 15:53:46 +01:00
Fix rain sound failure when moving very fast
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
Block a user