mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-03-30 00:39:58 -04:00
Merge pull request #415 from FunkinCrew/bugfix/album-missing
Fix a bug where the album disappears never to return
This commit is contained in:
commit
6d84f92860
1 changed files with 8 additions and 1 deletions
|
@ -1013,7 +1013,14 @@ class FreeplayState extends MusicBeatSubState
|
|||
|
||||
// Set the difficulty star count on the right.
|
||||
albumRoll.setDifficultyStars(daSong?.songRating);
|
||||
albumRoll.albumId = daSong?.albumId ?? Constants.DEFAULT_ALBUM_ID;
|
||||
|
||||
// Set the album graphic and play the animation if relevant.
|
||||
var newAlbumId:String = daSong?.albumId ?? Constants.DEFAULT_ALBUM_ID;
|
||||
if (albumRoll.albumId != newAlbumId)
|
||||
{
|
||||
albumRoll.albumId = newAlbumId;
|
||||
albumRoll.playIntro();
|
||||
}
|
||||
}
|
||||
|
||||
// Clears the cache of songs, frees up memory, they' ll have to be loaded in later tho function clearDaCache(actualSongTho:String)
|
||||
|
|
Loading…
Add table
Reference in a new issue