1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-15 11:22:55 +00:00

Updated to extend #2712

This commit is contained in:
AppleHair 2024-07-17 10:20:48 +03:00 committed by EliteMasterEric
parent c8322c479c
commit cb02ea7da5

View file

@ -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;
}