Skip to content

Commit

Permalink
Update TitleState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline committed Feb 14, 2024
1 parent 60f1aa4 commit 34e9877
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions source/states/TitleState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,12 @@ class TitleState extends MusicBeatState {
switch (sickBeats)
{
case 1:
//FlxG.sound.music.stop();
FlxG.sound.playMusic(Paths.music('freakyMenu'), 0);
FlxG.sound.music.fadeIn(4, 0, 0.7);
if (!initialized) {
if (FlxG.sound.music == null) {
FlxG.sound.playMusic(Paths.music('freakyMenu'), 0);
FlxG.sound.music.fadeIn(4, 0, 0.7);
}
}
case 2:
#if ALLEYWAY_WATERMARKS
createCoolText(['Alleyway Engine', 'by'], 40);
Expand Down

0 comments on commit 34e9877

Please sign in to comment.