From a9cff4db15e40eeb7d60bb9ad44a20a2ea990627 Mon Sep 17 00:00:00 2001 From: Merlin <30577208+SimplyMerlin@users.noreply.github.com> Date: Mon, 12 Jul 2021 12:06:07 +0200 Subject: [PATCH] Change bpm when song starts playing --- source/StoryMenuState.hx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/StoryMenuState.hx b/source/StoryMenuState.hx index 8f87cef..c8653f2 100644 --- a/source/StoryMenuState.hx +++ b/source/StoryMenuState.hx @@ -101,7 +101,10 @@ class StoryMenuState extends MusicBeatState if (FlxG.sound.music != null) { if (!FlxG.sound.music.playing) + { FlxG.sound.playMusic(Paths.music('freakyMenu')); + Conductor.changeBPM(102); + } } persistentUpdate = persistentDraw = true;