From 6cee84e473c57bfad55783b7640c4ae0d6a02e44 Mon Sep 17 00:00:00 2001 From: Florian Kuepper Date: Mon, 24 Dec 2012 10:10:41 +0100 Subject: [PATCH] Fixed player-scrolling in challenge-main. --- PartyModeChallenge/PartyScreenChallengeMain.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PartyModeChallenge/PartyScreenChallengeMain.cs b/PartyModeChallenge/PartyScreenChallengeMain.cs index 1a1ccb00..70181a40 100644 --- a/PartyModeChallenge/PartyScreenChallengeMain.cs +++ b/PartyModeChallenge/PartyScreenChallengeMain.cs @@ -542,6 +542,9 @@ namespace Vocaluxe.PartyModes private void UpdatePlayerTable() { + if (NumPlayerVisible > GameState.ProfileIDs.Count) + NumPlayerVisible = GameState.ProfileIDs.Count; + SProfile[] profiles = _Base.Profiles.GetProfiles(); for (int i = 0; i < PlayerTable.Count; i++)