From 2bfdb0761538413864542f3eb8f46f33c7250444 Mon Sep 17 00:00:00 2001 From: SimplyMerlin Date: Fri, 9 Jul 2021 17:53:56 +0200 Subject: [PATCH] make title screen bump sync with freeplay song --- source/FreeplayState.hx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/FreeplayState.hx b/source/FreeplayState.hx index 7fe4b38..36ac10b 100644 --- a/source/FreeplayState.hx +++ b/source/FreeplayState.hx @@ -360,6 +360,16 @@ class FreeplayState extends MusicBeatState FlxG.sound.playMusic(Paths.inst(songs[curSelected].songName), 0); #end + var hmm; + try + { + hmm = songData.get(songs[curSelected].songName)[curDifficulty]; + if (hmm != null) + Conductor.changeBPM(hmm.bpm); + } + catch(ex) + {} + var bullShit:Int = 0; for (i in 0...iconArray.length)