dont crash on disconnect from lobby
This commit is contained in:
@@ -326,7 +326,8 @@ namespace OpenRA
|
||||
|
||||
public static void Disconnect()
|
||||
{
|
||||
orderManager.world.traitDict.PrintReport();
|
||||
if (orderManager.world != null)
|
||||
orderManager.world.traitDict.PrintReport();
|
||||
|
||||
if (IsHost && server != null)
|
||||
server.Shutdown();
|
||||
|
||||
Reference in New Issue
Block a user