Add Generate Map tab to the lobby map chooser.

This commit is contained in:
Paul Chote
2025-05-11 20:44:39 +01:00
committed by Gustas Kažukauskas
parent 979483b63c
commit 6ffd786d5b
11 changed files with 875 additions and 8 deletions

View File

@@ -211,10 +211,12 @@ namespace OpenRA.Mods.Common.Widgets.Logic
Game.OpenWindow("MAPCHOOSER_PANEL", new WidgetArgs()
{
{ "initialMap", null },
{ "initialGeneratedMap", (MapGenerationArgs)null },
{ "remoteMapPool", null },
{ "initialTab", MapClassification.User },
{ "onExit", () => SwitchMenu(MenuType.MapEditor) },
{ "onSelect", onSelect },
{ "onSelectGenerated", null },
{ "filter", MapVisibility.Lobby | MapVisibility.Shellmap | MapVisibility.MissionSelector },
});
};