From a51bc743a83faf6c0938fe032875a13fe44216b3 Mon Sep 17 00:00:00 2001 From: MrGadget <9826063+MrGadget1024@users.noreply.github.com> Date: Sat, 26 Feb 2022 15:02:16 -0500 Subject: [PATCH] syntax --- Assets/Mirror/Examples/Chat/Scripts/ChatAuthenticator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } ///