Skip to content

Commit b39f0d9

Browse files
committed
Whoops
1 parent 6583928 commit b39f0d9

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

source/funkin/menus/FreeplayState.hx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,13 @@ class FreeplayState extends MusicBeatState
375375
updateCurSongMeta();
376376
updateScore();
377377

378+
#if PRELOAD_ALL
379+
if (songs[curSelected] != curSong) {
380+
autoplayElapsed = 0;
381+
songInstPlaying = false;
382+
}
383+
#end
384+
378385
if (curSong.difficulties.length > 1)
379386
diffText.text = '< ${curSong.difficulties[curDifficulty].toUpperCase()} >';
380387
else
@@ -422,13 +429,6 @@ class FreeplayState extends MusicBeatState
422429

423430
updateScore();
424431

425-
#if PRELOAD_ALL
426-
if (songs[curSelected] != curSong) {
427-
autoplayElapsed = 0;
428-
songInstPlaying = false;
429-
}
430-
#end
431-
432432
var key = "[TAB] "; // TODO: make this configurable
433433

434434
if (bothEnabled) {

0 commit comments

Comments
 (0)