PartyNames: Fix random selection.

This commit is contained in:
Florian Küpper committed 2013-12-26 12:44:19 +01:00
1 parent f9d2d952a8
commit 9e92ec2b99
1 file changed
+4 -2
+4 -2
View File
@@ -688,9 +688,11 @@ namespace VocaluxeLib.Menu
{
for (int t = 0; t < _TeamList.Length; t++)
{
for (int p = 0; p < _TeamList[t].Count; p++)
List<int> ids = new List<int>();
ids.AddRange(_TeamList[t]);
for (int p = 0; p < ids.Count; p++)
{
_RemovePlayerByIndex(t, p);
_RemovePlayer(t, ids[p]);
}
}
}