disonncet grace improved
This commit is contained in:
@@ -17,9 +17,11 @@ public class NetManager : NetworkManager
|
||||
|
||||
static bool s_IntentionalClientDisconnect;
|
||||
|
||||
public static NetManager instance;
|
||||
public override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
instance = this;
|
||||
Transport.active.OnClientError += OnTransportClientError;
|
||||
}
|
||||
|
||||
@@ -279,4 +281,5 @@ public class NetManager : NetworkManager
|
||||
|
||||
reopenRequestInFlight = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user