Skip to content

Commit 1b6c2d1

Browse files
AbnormalPoofHundrec
authored andcommitted
Reset the symbol graphic when the Album is destroyed
1 parent 7c90aee commit 1b6c2d1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

source/funkin/ui/freeplay/AlbumRoll.hx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,14 @@ class AlbumRoll extends FlxSpriteGroup
241241
*/
242242
public function showStars():Void
243243
{
244-
difficultyStars.visible = true; // true;
244+
difficultyStars.visible = true;
245245
difficultyStars.flameCheck();
246246
}
247+
248+
override function destroy():Void
249+
{
250+
newAlbumArt.replaceSymbolGraphic(ALBUM_ART_SYMBOL, null);
251+
252+
super.destroy();
253+
}
247254
}

0 commit comments

Comments
 (0)