Fix: Category selection without jokers in challenge-mode
This commit is contained in:
1 parent
1b0c40a20b
commit
4f7d2f696c
1 file changed
+9
-1
@@ -331,10 +331,18 @@ namespace VocaluxeLib.PartyModes.Challenge
|
||||
|
||||
public override void OnCategoryChange(int categoryIndex, ref SScreenSongOptions screenSongOptions)
|
||||
{
|
||||
if (categoryIndex != -1)
|
||||
if (categoryIndex != -1 || CBase.Config.GetTabs() == EOffOn.TR_CONFIG_OFF)
|
||||
{
|
||||
//If category is selected or tabs off: only random song selection
|
||||
_ScreenSongOptions.Selection.SelectNextRandomSong = true;
|
||||
_ScreenSongOptions.Selection.RandomOnly = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
//If no category is selected: let user choose category
|
||||
_ScreenSongOptions.Selection.SongIndex = -1;
|
||||
_ScreenSongOptions.Selection.RandomOnly = false;
|
||||
}
|
||||
|
||||
_ScreenSongOptions.Selection.CategoryIndex = categoryIndex;
|
||||
|
||||
|
||||
Reference in new issue
Block a user