diff --git a/Assets/Mirror/Examples/Chat/Scripts/ChatAuthenticator.cs b/Assets/Mirror/Examples/Chat/Scripts/ChatAuthenticator.cs index b9fdf5bc4..bb37d7f90 100644 --- a/Assets/Mirror/Examples/Chat/Scripts/ChatAuthenticator.cs +++ b/Assets/Mirror/Examples/Chat/Scripts/ChatAuthenticator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -153,7 +153,7 @@ public void SetPlayername(string username) public override void OnStartClient() { // register a handler for the authentication response we expect from server - NetworkClient.RegisterHandler((Action)OnAuthResponseMessage, false); + NetworkClient.RegisterHandler(OnAuthResponseMessage, false); } ///