Skip to content

Commit

Permalink
Updated to extend #2712
Browse files Browse the repository at this point in the history
  • Loading branch information
AppleHair authored and EliteMasterEric committed Jul 29, 2024
1 parent c8322c4 commit cb02ea7
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 @@ -2151,11 +2151,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 cb02ea7

Please sign in to comment.