diff --git a/VocaluxeLib/Menu/CMenuPartyNameSelection.cs b/VocaluxeLib/Menu/CMenuPartyNameSelection.cs index b1f6d7e2..3b99aa8d 100644 --- a/VocaluxeLib/Menu/CMenuPartyNameSelection.cs +++ b/VocaluxeLib/Menu/CMenuPartyNameSelection.cs @@ -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 ids = new List(); + ids.AddRange(_TeamList[t]); + for (int p = 0; p < ids.Count; p++) { - _RemovePlayerByIndex(t, p); + _RemovePlayer(t, ids[p]); } } }