mirror of
https://codeberg.org/tenplus1/ambience.git
synced 2025-01-11 10:30:17 +01:00
fixed ambience_song filename to ambience_music
This commit is contained in:
parent
09643b8e21
commit
a7db0bf2ac
2
init.lua
2
init.lua
@ -175,7 +175,7 @@ local get_ambience = function(player)
|
|||||||
-- play at midnight
|
-- play at midnight
|
||||||
if tod >= 0.0 and tod <= 0.01 and not music_handler then
|
if tod >= 0.0 and tod <= 0.01 and not music_handler then
|
||||||
|
|
||||||
music_handler = minetest.sound_play("ambience_song", {
|
music_handler = minetest.sound_play("ambience_music", {
|
||||||
to_player = player:get_player_name(),
|
to_player = player:get_player_name(),
|
||||||
gain = MUSICVOLUME
|
gain = MUSICVOLUME
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user