1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-24 14:16:56 +00:00

Merge pull request #648 from FunkinCrew/gamerbross/freeplay-stack-overflow

[PUBLIC PR] Fix Stack Overflow if song doesn't have "normal" difficulty
This commit is contained in:
Cameron Taylor 2024-07-01 20:20:38 -04:00 committed by GitHub
commit 5134547071
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2039,6 +2039,8 @@ class FreeplaySongData
function set_currentDifficulty(value:String):String
{
if (currentDifficulty == value) return value;
currentDifficulty = value;
updateValues(displayedVariations);
return value;