bugfix: remove last profile in names screen

This commit is contained in:
Alexander Eckart committed 2012-12-19 20:02:13 +01:00
1 parent abc00ebd4a
commit 71527847fa
1 file changed
+1 -1
@@ -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++)
{