From afb88bd6b4bf6acffe7097b2c4a305466d7ebec7 Mon Sep 17 00:00:00 2001 From: FajsiEx Date: Sun, 21 Nov 2021 17:27:37 +0100 Subject: [PATCH] + stop music trigger to song transition --- scripts/songtransition.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/songtransition.lua b/scripts/songtransition.lua index 8aba3a8..b046019 100644 --- a/scripts/songtransition.lua +++ b/scripts/songtransition.lua @@ -1,4 +1,6 @@ +local common = require('common.common'); + game.LoadSkinSample('song_transition_screen/transition_enter.wav'); local refBgImage = gfx.CreateSkinImage("songtransition/bg_old.png", 0) @@ -75,6 +77,7 @@ end function render(deltaTime) if not wasEnterSfxPlayed then + common.stopMusic(); game.PlaySample('song_transition_screen/transition_enter.wav'); wasEnterSfxPlayed = true; end