diff --git a/Assets/Mirror/Authenticators/BasicAuthenticator.cs b/Assets/Mirror/Authenticators/BasicAuthenticator.cs index 4e510c26b..1716898df 100644 --- a/Assets/Mirror/Authenticators/BasicAuthenticator.cs +++ b/Assets/Mirror/Authenticators/BasicAuthenticator.cs @@ -111,7 +111,7 @@ public void OnAuthRequestMessage(NetworkConnection conn, AuthRequestMessage msg) conn.isAuthenticated = false; // disconnect the client after 1 second so that response message gets delivered - StartCoroutine(DelayedDisconnect(conn, 1)); + StartCoroutine(DelayedDisconnect(conn, 1f)); } }