Skip to content

Commit 3140ee8

Browse files
committed
Account variation to last freeplay play too
1 parent c96ee6c commit 3140ee8

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

source/funkin/menus/FreeplayState.hx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,9 @@ class FreeplayState extends MusicBeatState
124124
}
125125

126126
updateCurDifficulties();
127-
128-
if (curSong != null) {
129-
for(k=>diff in curDifficulties) {
130-
if (diff == Options.freeplayLastDifficulty) {
131-
curDifficulty = k;
132-
}
133-
}
127+
for(i=>diff in curDifficulties) {
128+
if (curDiffMetaKeys[i] == Options.freeplayLastVariation && diff == Options.freeplayLastDifficulty)
129+
curDifficulty = i;
134130
}
135131

136132
updateCurSong();

0 commit comments

Comments
 (0)