Fix initial selected map, naming.

This commit is contained in:
Paul Chote
2011-05-08 17:26:01 +12:00
parent 7db1b5a1a0
commit 5e32cd38eb
4 changed files with 23 additions and 25 deletions

View File

@@ -40,7 +40,7 @@ namespace OpenRA.Mods.Cnc.Widgets
{
Widget.OpenWindow( "MAPCHOOSER_PANEL", new Dictionary<string, object>
{
{ "initialMap", map },
{ "initialMap", map.Uid },
{ "onExit", new Action(() => Widget.CloseWindow()) },
{ "onSelect", new Action<Map>(m => { map = m; Widget.CloseWindow(); }) }
});