Add a hook for widgets being removed, and ensure widgets are removed consistently.
This commit is contained in:
@@ -68,7 +68,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
||||
Game.LoadShellMap();
|
||||
if (Info.InstallMode != "cnc")
|
||||
{
|
||||
Widget.RootWidget.RemoveChildren();
|
||||
Widget.ResetAll();
|
||||
Widget.OpenWindow("MAINMENU_BG");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user