Skip to content

Commit

Permalink
Updated to extend FunkinCrew#2712
Browse files Browse the repository at this point in the history
  • Loading branch information
AppleHair authored and charlesisfeline committed Jul 23, 2024
1 parent 855d8fe commit 9ab0828
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/funkin/ui/freeplay/FreeplayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2077,11 +2077,11 @@ class FreeplaySongData
function updateValues(variations:Array<String>):Void
{
this.songDifficulties = song.listDifficulties(null, variations, false, false);
if (!this.songDifficulties.contains(currentDifficulty) && currentDifficulty != Constants.DEFAULT_DIFFICULTY)
if (!this.songDifficulties.contains(currentDifficulty))
{
currentDifficulty = Constants.DEFAULT_DIFFICULTY;
// This method gets called again by the setter-method,
// so there's no need to continue.
// This method gets called again by the setter-method
// or the difficulty didn't change, so there's no need to continue.
return;
}

Expand Down

0 comments on commit 9ab0828

Please sign in to comment.