Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
PurSnake committed Sep 18, 2024
1 parent 299aa41 commit 5ce05b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions source/funkin/play/stage/Stage.hx
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ class Stage extends FlxSpriteGroup implements IPlayStateScriptedClass implements
#end
}

// Set the characters type
character.characterType = charType;

// Add the character to the scene.
this.add(character);

Expand Down
5 changes: 3 additions & 2 deletions source/funkin/ui/freeplay/FreeplayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,8 @@ class FreeplayState extends MusicBeatSubState
// when boyfriend hits dat shiii

albumRoll.playIntro();
var daSong = grpCapsules.members[curSelected].songData;
albumRoll.albumId = daSong?.albumId;

FlxTween.tween(grpDifficulties, {x: 90}, 0.6, {ease: FlxEase.quartOut});

Expand Down Expand Up @@ -1681,8 +1683,7 @@ class FreeplayState extends MusicBeatSubState
}
}

// Set the album graphic and play the animation if relevant.
var newAlbumId:String = daSong?.albumId;
var newAlbumId:Null<String> = daSong?.albumId;
if (albumRoll.albumId != newAlbumId)
{
albumRoll.albumId = newAlbumId;
Expand Down

0 comments on commit 5ce05b4

Please sign in to comment.