mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-15 11:22:55 +00:00
dadbattle hard/erect fix
This commit is contained in:
parent
6fd030cb30
commit
34c91dae76
2
assets
2
assets
|
@ -1 +1 @@
|
|||
Subproject commit 4427687c487d643c6051f8c4610470326c87ea4d
|
||||
Subproject commit d5ab93cb024364404dbeb79d0d0228bb06602f13
|
|
@ -285,7 +285,10 @@ class FreeplayState extends MusicBeatSubState
|
|||
|
||||
// Only display songs which actually have available difficulties for the current character.
|
||||
var displayedVariations = song.getVariationsByCharId(currentCharacter);
|
||||
trace(songId);
|
||||
trace(displayedVariations);
|
||||
var availableDifficultiesForSong:Array<String> = song.listDifficulties(displayedVariations, false);
|
||||
trace(availableDifficultiesForSong);
|
||||
if (availableDifficultiesForSong.length == 0) continue;
|
||||
|
||||
songs.push(new FreeplaySongData(levelId, songId, song, displayedVariations));
|
||||
|
@ -2076,7 +2079,7 @@ class FreeplaySongData
|
|||
this.songDifficulties = song.listDifficulties(null, variations, false, false);
|
||||
if (!this.songDifficulties.contains(currentDifficulty)) currentDifficulty = Constants.DEFAULT_DIFFICULTY;
|
||||
|
||||
var songDifficulty:SongDifficulty = song.getDifficulty(currentDifficulty, variations);
|
||||
var songDifficulty:SongDifficulty = song.getDifficulty(currentDifficulty, null, variations);
|
||||
if (songDifficulty == null) return;
|
||||
this.songStartingBpm = songDifficulty.getStartingBPM();
|
||||
this.songName = songDifficulty.songName;
|
||||
|
|
Loading…
Reference in a new issue