This commit is contained in:
MrGadget 2022-02-26 15:02:16 -05:00
parent 3a1d9822bd
commit a51bc743a8

View File

@ -1,4 +1,4 @@
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
@ -153,7 +153,7 @@ public void SetPlayername(string username)
public override void OnStartClient() public override void OnStartClient()
{ {
// register a handler for the authentication response we expect from server // register a handler for the authentication response we expect from server
NetworkClient.RegisterHandler<AuthResponseMessage>((Action<AuthResponseMessage>)OnAuthResponseMessage, false); NetworkClient.RegisterHandler<AuthResponseMessage>(OnAuthResponseMessage, false);
} }
/// <summary> /// <summary>