From 3140ee8512db51fc5857359bf03d4bb23a7010ee Mon Sep 17 00:00:00 2001 From: Ralty <78720179+Raltyro@users.noreply.github.com> Date: Sun, 10 Aug 2025 17:26:51 +0700 Subject: [PATCH] Account variation to last freeplay play too --- source/funkin/menus/FreeplayState.hx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/source/funkin/menus/FreeplayState.hx b/source/funkin/menus/FreeplayState.hx index 9216319b..69fc3d8d 100644 --- a/source/funkin/menus/FreeplayState.hx +++ b/source/funkin/menus/FreeplayState.hx @@ -124,13 +124,9 @@ class FreeplayState extends MusicBeatState } updateCurDifficulties(); - - if (curSong != null) { - for(k=>diff in curDifficulties) { - if (diff == Options.freeplayLastDifficulty) { - curDifficulty = k; - } - } + for(i=>diff in curDifficulties) { + if (curDiffMetaKeys[i] == Options.freeplayLastVariation && diff == Options.freeplayLastDifficulty) + curDifficulty = i; } updateCurSong();