1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-05 06:14:36 +00:00

Merge pull request #281 from FunkinCrew/freeplay-rand-fixy

Freeplay rand fixy
This commit is contained in:
Cameron Taylor 2024-01-14 12:11:34 -05:00 committed by GitHub
commit 4dec9827f2
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@
"name": "haxeui-flixel",
"type": "git",
"dir": null,
"ref": "9c8ab039524086f5a8c8f35b9fb14538b5bfba5d",
"ref": "4f1842e55a410014dd4a188b576b31019631493a",
"url": "https://github.com/haxeui/haxeui-flixel"
},
{

View file

@ -995,7 +995,7 @@ class FreeplayState extends MusicBeatSubState
}
// Set the difficulty star count on the right.
difficultyStars.difficulty = daSong.songRating;
difficultyStars.difficulty = daSong?.songRating ?? difficultyStars.difficulty; // yay haxe 4.3
}
// Clears the cache of songs, frees up memory, they' ll have to be loaded in later tho function clearDaCache(actualSongTho:String)