Remove unused InitDelegates() method. Don't mutate the Children list directly.

This commit is contained in:
Paul Chote
2011-01-23 10:13:14 +13:00
parent 3fe549d0a4
commit 646863b85b
6 changed files with 14 additions and 18 deletions

View File

@@ -301,7 +301,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
{
// This causes problems for people who are in the process of editing their names (the widgets vanish from beneath them)
// Todo: handle this nicer
Players.ClearChildren();
Players.RemoveChildren();
foreach (var slot in orderManager.LobbyInfo.Slots)
{