mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-23 02:51:06 +01:00
Fix mcl_weather crash
This commit is contained in:
parent
bc740efafe
commit
02b2ff7460
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +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", {
|
||||||
to_player = player,
|
to_player = player:get_player_name(),
|
||||||
loop = true,
|
loop = true,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue