mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-01-05 20:43:00 -05:00
Updated to extend #2712
This commit is contained in:
parent
a93cd05aeb
commit
691da783fc
1 changed files with 3 additions and 3 deletions
|
@ -2077,11 +2077,11 @@ class FreeplaySongData
|
||||||
function updateValues(variations:Array<String>):Void
|
function updateValues(variations:Array<String>):Void
|
||||||
{
|
{
|
||||||
this.songDifficulties = song.listDifficulties(null, variations, false, false);
|
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;
|
currentDifficulty = Constants.DEFAULT_DIFFICULTY;
|
||||||
// This method gets called again by the setter-method,
|
// This method gets called again by the setter-method
|
||||||
// so there's no need to continue.
|
// or the difficulty didn't change, so there's no need to continue.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue