From 347f7cfecbe91fc06e71a502ee58a5d7859be5fc Mon Sep 17 00:00:00 2001 From: Legend Date: Wed, 25 Mar 2026 09:00:42 -0400 Subject: [PATCH] fix(freeplay): song preview not updating after rank animation finishes (#6432) --- source/funkin/ui/freeplay/FreeplayState.hx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/funkin/ui/freeplay/FreeplayState.hx b/source/funkin/ui/freeplay/FreeplayState.hx index 1e18d035d..43102e3d3 100644 --- a/source/funkin/ui/freeplay/FreeplayState.hx +++ b/source/funkin/ui/freeplay/FreeplayState.hx @@ -2912,6 +2912,9 @@ class FreeplayState extends MusicBeatSubState #end } + // Reset `prepForNewRank` flag on change to prevent song previews from not updating. + if (change != 0 && prepForNewRank) prepForNewRank = false; + if (!prepForNewRank && curSelected != prevSelected) FunkinSound.playOnce(Paths.sound('scrollMenu'), 0.4); var songScore:Null = Save.instance.getSongScore(currentCapsule.freeplayData?.data.id ?? '', currentDifficulty, currentVariation);