From 71527847fa72d78a0ceca6b5489c935bc90dfbc4 Mon Sep 17 00:00:00 2001 From: Alexander Eckart Date: Wed, 19 Dec 2012 20:02:13 +0100 Subject: [PATCH] bugfix: remove last profile in names screen --- PartyModeChallenge/PartyScreenChallengeNames.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PartyModeChallenge/PartyScreenChallengeNames.cs b/PartyModeChallenge/PartyScreenChallengeNames.cs index 69b2fd77..21136ae7 100644 --- a/PartyModeChallenge/PartyScreenChallengeNames.cs +++ b/PartyModeChallenge/PartyScreenChallengeNames.cs @@ -361,7 +361,7 @@ namespace Vocaluxe.PartyModes if (Offset < 0) Offset = 0; - if (NumButtonPlayerChoose * (Offset + 1) - PlayerChooseButtonsVisibleProfiles.Count < NumButtonPlayerChoose) + if (NumButtonPlayerChoose * (Offset + 1) - PlayerChooseButtonsVisibleProfiles.Count <= NumButtonPlayerChoose) { for (int i = 0; i < NumButtonPlayerChoose; i++) {