Make Game.LoadWidget / Widget.LoadWidget consistent.

This commit is contained in:
Paul Chote
2011-05-13 15:53:46 +12:00
parent 21267688b0
commit 1526b6ff37
7 changed files with 12 additions and 9 deletions

View File

@@ -60,7 +60,7 @@ namespace OpenRA.Mods.RA
public void WorldLoaded(World world)
{
Widget.RootWidget.AddChild(Game.LoadWidget(world, Info.Widget, new WidgetArgs()));
Game.LoadWidget(world, Info.Widget, Widget.RootWidget, new WidgetArgs());
}
}
}