PartyNames: Fix random selection.
This commit is contained in:
1 parent
2f17bfe3b1
commit
0f1beb6479
1 file changed
+4
-2
@@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user