Removed duplicate track

This commit is contained in:
ancientmarinerdev 2023-03-05 19:16:53 +00:00 committed by Gitea
parent 1dcdbbef79
commit 4c5b057038

View file

@ -14,7 +14,7 @@ local lonely_blossom = "exhale_and_tim_unwin-lonely_blossom"
local valley_of_ghosts = "exhale_and_tim_unwin-valley_of_ghosts" local valley_of_ghosts = "exhale_and_tim_unwin-valley_of_ghosts"
local dimension_to_base_track = { local dimension_to_base_track = {
["overworld"] = {pianowtune, flock_of_one, gift, hailing_forest, lonely_blossom, valley_of_ghosts}, ["overworld"] = {pianowtune, flock_of_one, gift, hailing_forest, lonely_blossom},
["nether"] = {nether_tune, valley_of_ghosts}, ["nether"] = {nether_tune, valley_of_ghosts},
["end"] = {end_tune}, ["end"] = {end_tune},
["mining"] = {odd_block}, ["mining"] = {odd_block},
@ -59,7 +59,7 @@ local function stop_music_for_listener_name(listener_name)
if not listener then return end if not listener then return end
local handle = listener.handle local handle = listener.handle
if not handle then return end if not handle then return end
minetest.log("action", "[mcl_music] Stopping music") minetest.log("action", "[mcl_music] Stopping music")
minetest.sound_stop(handle) minetest.sound_stop(handle)
listeners[listener_name].handle = nil listeners[listener_name].handle = nil