mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-14 19:25:16 -05:00
Updated to extend #2712
This commit is contained in:
parent
c8322c479c
commit
cb02ea7da5
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue