mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
added the log message again too
This commit is contained in:
parent
1a55c3d52d
commit
75e51513db
@ -658,6 +658,8 @@ public virtual void OnServerAddPlayer(NetworkConnection conn)
|
|||||||
|
|
||||||
public virtual void OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage)
|
public virtual void OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage)
|
||||||
{
|
{
|
||||||
|
if (LogFilter.Debug) Debug.Log("NetworkManager.OnServerAddPlayer");
|
||||||
|
|
||||||
if (playerPrefab == null)
|
if (playerPrefab == null)
|
||||||
{
|
{
|
||||||
Debug.LogError("The PlayerPrefab is empty on the NetworkManager. Please setup a PlayerPrefab object.");
|
Debug.LogError("The PlayerPrefab is empty on the NetworkManager. Please setup a PlayerPrefab object.");
|
||||||
|
Loading…
Reference in New Issue
Block a user