Merge pull request #6335 from obrakmann/fix6311

Fix end game window conflicting with ingame menu
This commit is contained in:
Paul Chote
2014-09-03 18:54:51 +12:00
5 changed files with 13 additions and 7 deletions

View File

@@ -417,8 +417,11 @@ namespace OpenRA.Widgets
public virtual void RemoveChild(Widget child)
{
Children.Remove(child);
child.Removed();
if (child != null)
{
Children.Remove(child);
child.Removed();
}
}
public virtual void RemoveChildren()