PartyNames: Fix random selection.

This commit is contained in:
Florian Küpper committed 2013-12-26 13:07:31 +01:00
1 parent 2f17bfe3b1
commit 0f1beb6479
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]);
}
}
}