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

@@ -346,15 +346,7 @@ namespace OpenRA
AddChatLine(Color.White, "Debug", String.Format(s,args));
}
// TODO: Fix ra relying on this behavior, then make this sane
[Obsolete] public static void Disconnect()
{
DisconnectOnly();
var shellmap = ChooseShellmap();
StartGame(shellmap);
}
public static void DisconnectOnly()
public static void Disconnect()
{
if (orderManager.world != null)
orderManager.world.traitDict.PrintReport();