Skip to content

Commit

Permalink
Added a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AppleHair authored and EliteMasterEric committed Jul 29, 2024
1 parent 4f46a8e commit c8322c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/funkin/ui/freeplay/FreeplayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2154,6 +2154,9 @@ class FreeplaySongData
if (!this.songDifficulties.contains(currentDifficulty) && currentDifficulty != Constants.DEFAULT_DIFFICULTY)
{
currentDifficulty = Constants.DEFAULT_DIFFICULTY;
// This method gets called again by the setter-method,
// so there's no need to continue.
return;
}

var songDifficulty:SongDifficulty = song.getDifficulty(currentDifficulty, null, variations);
Expand Down

0 comments on commit c8322c4

Please sign in to comment.