mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-01-08 22:12:13 -05:00
Fix Stack Overflow if song doesn't have "normal" difficulty
This commit is contained in:
parent
9a78060329
commit
73982fbd60
1 changed files with 2 additions and 0 deletions
|
@ -2046,6 +2046,8 @@ class FreeplaySongData
|
||||||
|
|
||||||
function set_currentDifficulty(value:String):String
|
function set_currentDifficulty(value:String):String
|
||||||
{
|
{
|
||||||
|
if (currentDifficulty == value) return value;
|
||||||
|
|
||||||
currentDifficulty = value;
|
currentDifficulty = value;
|
||||||
updateValues(displayedVariations);
|
updateValues(displayedVariations);
|
||||||
return value;
|
return value;
|
||||||
|
|
Loading…
Reference in a new issue