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