make title screen bump sync with freeplay song

This commit is contained in:
SimplyMerlin 2021-07-09 17:53:56 +02:00
parent 0d8e433998
commit 2bfdb07615

View File

@ -360,6 +360,16 @@ class FreeplayState extends MusicBeatState
FlxG.sound.playMusic(Paths.inst(songs[curSelected].songName), 0); FlxG.sound.playMusic(Paths.inst(songs[curSelected].songName), 0);
#end #end
var hmm;
try
{
hmm = songData.get(songs[curSelected].songName)[curDifficulty];
if (hmm != null)
Conductor.changeBPM(hmm.bpm);
}
catch(ex)
{}
var bullShit:Int = 0; var bullShit:Int = 0;
for (i in 0...iconArray.length) for (i in 0...iconArray.length)