Skip to content

Commit

Permalink
Crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion authored Dec 11, 2023
1 parent 6d45ee5 commit 061c3ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/states/FreeplayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ class FreeplayState extends MusicBeatState {
FlxG.sound.play(Paths.sound('scrollMenu'), 0.4);

// Song Inst
if (Options.getData("freeplayMusic")) {
if (Options.getData("freeplayMusic") && curSelected <= 0) {
FlxG.sound.playMusic(Paths.inst(songs[curSelected].songName, curDiffString.toLowerCase()), 0.7);

if (vocals.active && vocals.playing)
Expand Down

0 comments on commit 061c3ea

Please sign in to comment.