Skip to content

Commit

Permalink
now using getVariationsByCharId instead
Browse files Browse the repository at this point in the history
  • Loading branch information
AppleHair authored Jun 12, 2024
1 parent 9fa6033 commit c4d6e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/funkin/ui/freeplay/FreeplayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1892,7 +1892,7 @@ class FreeplayState extends MusicBeatSubState
{
var previewSong:Null<Song> = SongRegistry.instance.fetchEntry(daSongCapsule.songData.songId);
var instSuffix:String = previewSong?.getDifficulty(currentDifficulty,
previewSong?.variations ?? Constants.DEFAULT_VARIATION_LIST)?.characters?.instrumental ?? '';
previewSong?.getVariationsByCharId(currentCharacter) ?? Constants.DEFAULT_VARIATION_LIST)?.characters?.instrumental ?? '';
instSuffix = (instSuffix != '') ? '-$instSuffix' : '';
FunkinSound.playMusic(daSongCapsule.songData.songId,
{
Expand Down

0 comments on commit c4d6e18

Please sign in to comment.