Remove another hardcoded widget reference and prepare for saner init code.
This commit is contained in:
@@ -299,8 +299,7 @@ namespace OpenRA
|
||||
JoinLocal();
|
||||
viewport = new Viewport(new int2(Renderer.Resolution), Rectangle.Empty, Renderer);
|
||||
|
||||
Widget.RootWidget.RemoveChildren();
|
||||
modData.WidgetLoader.LoadWidget( new Dictionary<string,object>(), Widget.RootWidget, "INIT_SETUP" );
|
||||
modData.LoadScreen.StartGame();
|
||||
}
|
||||
|
||||
public static void LoadShellMap()
|
||||
|
||||
Reference in New Issue
Block a user