+ stop music trigger to song transition
This commit is contained in:
parent
93d02aef74
commit
afb88bd6b4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue