Fix IDE0039
This commit is contained in:
@@ -84,7 +84,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
// Close the multiplayer browser
|
||||
Ui.CloseWindow();
|
||||
|
||||
Action onLobbyExit = () =>
|
||||
void OnLobbyExit()
|
||||
{
|
||||
// Open a fresh copy of the multiplayer browser
|
||||
Ui.OpenWindow("MULTIPLAYER_PANEL", new WidgetArgs
|
||||
@@ -97,12 +97,12 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
Game.Disconnect();
|
||||
|
||||
DiscordService.UpdateStatus(DiscordState.InMenu);
|
||||
};
|
||||
}
|
||||
|
||||
Game.OpenWindow("SERVER_LOBBY", new WidgetArgs
|
||||
{
|
||||
{ "onStart", onStart },
|
||||
{ "onExit", onLobbyExit },
|
||||
{ "onExit", OnLobbyExit },
|
||||
{ "skirmishMode", false }
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user