route disconnect back to Game
This commit is contained in:
@@ -36,10 +36,9 @@ namespace OpenRA.Widgets.Delegates
|
||||
return true;
|
||||
};
|
||||
|
||||
optionsBG.GetWidget("BUTTON_DISCONNECT").OnMouseUp = mi => {
|
||||
// Todo: Do this cleanly, so we don't crash
|
||||
//Game.JoinLocal();
|
||||
//Game.LoadShellMap(new Manifest(Game.LobbyInfo.GlobalSettings.Mods).ShellmapUid);
|
||||
optionsBG.GetWidget("BUTTON_DISCONNECT").OnMouseUp = mi => {
|
||||
optionsBG.Visible = false;
|
||||
Game.Disconnect();
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user