Fix Stack Overflow if song doesn't have "normal" difficulty

This commit is contained in:
gamerbross 2024-06-09 00:29:55 +02:00
parent 9a78060329
commit 73982fbd60

View file

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