Wire up the settings panel

This commit is contained in:
Paul Chote
2011-05-14 22:25:56 +12:00
parent ce901427bc
commit cb565e5d3c
8 changed files with 366 additions and 97 deletions

View File

@@ -123,6 +123,7 @@ namespace OpenRA.Mods.Cnc.Widgets
Menu = MenuType.None;
Widget.OpenWindow("SETTINGS_PANEL", new WidgetArgs()
{
{ "world", world },
{ "onExit", () => Menu = MenuType.Settings },
});
};