From 17af872f99af96069fdad5e84e951ed9bcabcabb Mon Sep 17 00:00:00 2001 From: Chris Langsenkamp Date: Tue, 21 Jan 2020 21:44:15 -0500 Subject: [PATCH] Use conn instead of NetworkClient --- Assets/Mirror/Authenticators/BasicAuthenticator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Authenticators/BasicAuthenticator.cs b/Assets/Mirror/Authenticators/BasicAuthenticator.cs index 6e3c3f617..529c01c59 100644 --- a/Assets/Mirror/Authenticators/BasicAuthenticator.cs +++ b/Assets/Mirror/Authenticators/BasicAuthenticator.cs @@ -51,7 +51,7 @@ public override void OnClientAuthenticate(NetworkConnection conn) authPassword = password }; - NetworkClient.Send(authRequestMessage); + conn.Send(authRequestMessage); } public void OnAuthRequestMessage(NetworkConnection conn, AuthRequestMessage msg)