From 2430bb5a2bc66ae9dff9c6f64263df14e627db18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Tue, 26 Dec 2017 10:11:04 +0100 Subject: [PATCH] Fixed random selection in challenge mode --- PartyModes/PartyModeChallenge/CPartyModeChallenge.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/PartyModes/PartyModeChallenge/CPartyModeChallenge.cs b/PartyModes/PartyModeChallenge/CPartyModeChallenge.cs index c2f454d9..a70fdf25 100644 --- a/PartyModes/PartyModeChallenge/CPartyModeChallenge.cs +++ b/PartyModes/PartyModeChallenge/CPartyModeChallenge.cs @@ -320,7 +320,11 @@ namespace VocaluxeLib.PartyModes.Challenge public override SScreenSongOptions GetScreenSongOptions() { - switch(GameData.SongSource) + _ScreenSongOptions.Selection.RandomOnly = true; + _ScreenSongOptions.Sorting.IgnoreArticles = CBase.Config.GetIgnoreArticles(); + + + switch (GameData.SongSource) { case ESongSource.TR_SONGSOURCE_ALLSONGS: _ScreenSongOptions.Sorting.SongSorting = CBase.Config.GetSongSorting(); @@ -351,9 +355,6 @@ namespace VocaluxeLib.PartyModes.Challenge _ScreenSongOptions.Selection.CategoryChangeAllowed = false; break; } - - _ScreenSongOptions.Sorting.IgnoreArticles = CBase.Config.GetIgnoreArticles(); - return _ScreenSongOptions; }