Some minor fixes in ChallengeMode
This commit is contained in:
1 parent
af59a42f81
commit
985de5b637
2 files changed
+8
-4
No files matched your search
@@ -690,8 +690,8 @@ namespace VocaluxeLib.PartyModes.Challenge
|
||||
if (GameData.CatSongIndices == null && CBase.Songs.GetNumCategories() > 0 && _ScreenSongOptions.Sorting.Tabs == EOffOn.TR_CONFIG_ON)
|
||||
{
|
||||
GameData.CatSongIndices = new int[CBase.Songs.GetNumCategories()];
|
||||
for (int i = 0; i < GameData.CatSongIndices.Length; i++)
|
||||
GameData.CatSongIndices[i] = -1;
|
||||
for (int i = 1; i < GameData.CatSongIndices.Length; i++)
|
||||
GameData.CatSongIndices[i] = CBase.Songs.GetNumSongsInCategory(i) + GameData.CatSongIndices[i - 1];
|
||||
}
|
||||
|
||||
if (CBase.Songs.GetNumCategories() == 0 || _ScreenSongOptions.Sorting.Tabs == EOffOn.TR_CONFIG_OFF)
|
||||
|
||||
Reference in new issue
Block a user