From 75e51513db082e71a92f453af5e59bdea3b2c1f7 Mon Sep 17 00:00:00 2001 From: vis2k Date: Fri, 22 Mar 2019 09:58:04 +0100 Subject: [PATCH] added the log message again too --- Assets/Mirror/Runtime/NetworkManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Mirror/Runtime/NetworkManager.cs b/Assets/Mirror/Runtime/NetworkManager.cs index a01a85f77..65a3da6a4 100644 --- a/Assets/Mirror/Runtime/NetworkManager.cs +++ b/Assets/Mirror/Runtime/NetworkManager.cs @@ -658,6 +658,8 @@ public virtual void OnServerAddPlayer(NetworkConnection conn) public virtual void OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage) { + if (LogFilter.Debug) Debug.Log("NetworkManager.OnServerAddPlayer"); + if (playerPrefab == null) { Debug.LogError("The PlayerPrefab is empty on the NetworkManager. Please setup a PlayerPrefab object.");