Fixed: crash when starting a new game after disconnecting from own server

This commit is contained in:
geckosoft
2010-11-01 03:46:38 +01:00
parent 2fb72155eb
commit 56598ce2ff
2 changed files with 16 additions and 1 deletions

View File

@@ -308,6 +308,9 @@ namespace OpenRA
public static void Disconnect()
{
if (IsHost)
Server.Server.StopListening();
orderManager.Dispose();
var shellmap = modData.Manifest.ShellmapUid;
JoinLocal();