diff --git a/Assets/Mirage.Profiler/Runtime/NetworkProfilerRecorder.cs b/Assets/Mirage.Profiler/Runtime/NetworkProfilerRecorder.cs index 61cecfc..87011c0 100644 --- a/Assets/Mirage.Profiler/Runtime/NetworkProfilerRecorder.cs +++ b/Assets/Mirage.Profiler/Runtime/NetworkProfilerRecorder.cs @@ -18,7 +18,7 @@ public class NetworkProfilerRecorder : MonoBehaviour public static NetworkProfilerRecorder Instance { get; private set; } public NetworkServer Server; - public NetworkServer Client; + public NetworkClient Client; /// /// instance being used for profiler @@ -107,7 +107,7 @@ private void ServerStopped() instance = null; } - private void ClientStopped(INetworkPlayer arg0) + private void ClientStopped(ClientStoppedReason _) { if (instance == (object)Client) instance = null;