Rework color picker palette modification.
The old method had the lobby code dig around inside the palette modification machinery, which was a giant hack preventing necessary streamlining.
This commit is contained in:
@@ -85,9 +85,8 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
|
||||
settingsMenu.Get<ButtonWidget>("SETTINGS_BUTTON").OnClick = () =>
|
||||
{
|
||||
Menu = MenuType.None;
|
||||
Ui.OpenWindow("SETTINGS_PANEL", new WidgetArgs()
|
||||
Game.OpenWindow("SETTINGS_PANEL", new WidgetArgs()
|
||||
{
|
||||
{ "world", world },
|
||||
{ "onExit", () => Menu = MenuType.Settings },
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user