Fix obsolete Game.Disconnect()

This commit is contained in:
Paul Chote
2011-05-22 13:23:27 +12:00
parent 16cd1679dd
commit 8eb4e663d2
7 changed files with 8 additions and 11 deletions

View File

@@ -30,6 +30,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
optionsBG.GetWidget("DISCONNECT").OnMouseUp = mi => {
optionsBG.Visible = false;
Game.Disconnect();
Game.LoadShellMap();
Widget.CloseWindow();
Widget.OpenWindow("MAINMENU_BG");
return true;