mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-15 03:13:45 +00:00
Merge branch 'applehair/ranks-for-custom-variations' into feature/playable-pico-mode
This commit is contained in:
commit
fbfd8259a6
4
.gitmodules
vendored
4
.gitmodules
vendored
|
@ -1,6 +1,6 @@
|
|||
[submodule "assets"]
|
||||
path = assets
|
||||
url = https://github.com/FunkinCrew/Funkin-Assets-secret
|
||||
url = https://github.com/FunkinCrew/funkin.assets
|
||||
[submodule "art"]
|
||||
path = art
|
||||
url = https://github.com/FunkinCrew/Funkin-Art-secret
|
||||
url = https://github.com/FunkinCrew/funkin.art
|
||||
|
|
|
@ -2153,8 +2153,13 @@ class FreeplaySongData
|
|||
{
|
||||
this.albumId = songDifficulty.album;
|
||||
}
|
||||
|
||||
// TODO: This line of code makes me sad, but you can't really fix it without a breaking migration.
|
||||
// `easy`, `erect`, `normal-pico`, etc.
|
||||
var suffixedDifficulty = (songDifficulty.variation != Constants.DEFAULT_VARIATION
|
||||
&& songDifficulty.variation != 'erect') ? '$currentDifficulty-${songDifficulty.variation}' : currentDifficulty;
|
||||
|
||||
this.scoringRank = Save.instance.getSongRank(songId, currentDifficulty);
|
||||
this.scoringRank = Save.instance.getSongRank(songId, suffixedDifficulty);
|
||||
|
||||
this.isNew = song.isSongNew(currentDifficulty);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue