Change bpm when song starts playing
This commit is contained in:
parent
c69e83d8e0
commit
a9cff4db15
@ -101,7 +101,10 @@ class StoryMenuState extends MusicBeatState
|
|||||||
if (FlxG.sound.music != null)
|
if (FlxG.sound.music != null)
|
||||||
{
|
{
|
||||||
if (!FlxG.sound.music.playing)
|
if (!FlxG.sound.music.playing)
|
||||||
|
{
|
||||||
FlxG.sound.playMusic(Paths.music('freakyMenu'));
|
FlxG.sound.playMusic(Paths.music('freakyMenu'));
|
||||||
|
Conductor.changeBPM(102);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
persistentUpdate = persistentDraw = true;
|
persistentUpdate = persistentDraw = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user