mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-11-30 08:07:52 +00:00
Fix Stack Overflow if song doesn't have "normal" difficulty
This commit is contained in:
parent
dd30012d80
commit
7e6ef61169
|
|
@ -2039,6 +2039,8 @@ class FreeplaySongData
|
|||
|
||||
function set_currentDifficulty(value:String):String
|
||||
{
|
||||
if (currentDifficulty == value) return value;
|
||||
|
||||
currentDifficulty = value;
|
||||
updateValues(displayedVariations);
|
||||
return value;
|
||||
|
|
|
|||
Loading…
Reference in a new issue