mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-24 14:16:56 +00:00
now using getVariationsByCharId instead
This commit is contained in:
parent
837efcea36
commit
b1021530d8
|
@ -1884,7 +1884,7 @@ class FreeplayState extends MusicBeatSubState
|
||||||
{
|
{
|
||||||
var previewSong:Null<Song> = SongRegistry.instance.fetchEntry(daSongCapsule.songData.songId);
|
var previewSong:Null<Song> = SongRegistry.instance.fetchEntry(daSongCapsule.songData.songId);
|
||||||
var instSuffix:String = previewSong?.getDifficulty(currentDifficulty,
|
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' : '';
|
instSuffix = (instSuffix != '') ? '-$instSuffix' : '';
|
||||||
FunkinSound.playMusic(daSongCapsule.songData.songId,
|
FunkinSound.playMusic(daSongCapsule.songData.songId,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue