Add Generate Map tab to the lobby map chooser.
This commit is contained in:
committed by
Gustas Kažukauskas
parent
979483b63c
commit
6ffd786d5b
@@ -98,10 +98,12 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
Ui.OpenWindow("MAPCHOOSER_PANEL", new WidgetArgs()
|
||||
{
|
||||
{ "initialMap", map.Uid },
|
||||
{ "initialGeneratedMap", (MapGenerationArgs)null },
|
||||
{ "remoteMapPool", null },
|
||||
{ "initialTab", MapClassification.System },
|
||||
{ "onExit", () => modData.MapCache.UpdateMaps() },
|
||||
{ "onSelect", (Action<string>)(uid => map = modData.MapCache[uid]) },
|
||||
{ "onSelectGenerated", null },
|
||||
{ "filter", MapVisibility.Lobby },
|
||||
{ "onStart", () => { } }
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user