diff --git a/source/funkin/menus/FreeplayState.hx b/source/funkin/menus/FreeplayState.hx index f3d4def9..e4199da1 100644 --- a/source/funkin/menus/FreeplayState.hx +++ b/source/funkin/menus/FreeplayState.hx @@ -375,6 +375,13 @@ class FreeplayState extends MusicBeatState updateCurSongMeta(); updateScore(); + #if PRELOAD_ALL + if (songs[curSelected] != curSong) { + autoplayElapsed = 0; + songInstPlaying = false; + } + #end + if (curSong.difficulties.length > 1) diffText.text = '< ${curSong.difficulties[curDifficulty].toUpperCase()} >'; else @@ -422,13 +429,6 @@ class FreeplayState extends MusicBeatState updateScore(); - #if PRELOAD_ALL - if (songs[curSelected] != curSong) { - autoplayElapsed = 0; - songInstPlaying = false; - } - #end - var key = "[TAB] "; // TODO: make this configurable if (bothEnabled) {