added the log message again too

This commit is contained in:
vis2k 2019-03-22 09:58:04 +01:00
parent 1a55c3d52d
commit 75e51513db

View File

@ -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.");