mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Merge branch 'master' of https://github.com/vis2k/Mirror
This commit is contained in:
commit
1db26fc747
@ -195,12 +195,6 @@ public override void OnServerDisconnect(NetworkConnection conn)
|
||||
OnLobbyServerDisconnect(conn);
|
||||
}
|
||||
|
||||
[System.Obsolete("Use OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage) instead")]
|
||||
public override void OnServerAddPlayer(NetworkConnection conn)
|
||||
{
|
||||
OnServerAddPlayer(conn, null);
|
||||
}
|
||||
|
||||
public override void OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage)
|
||||
{
|
||||
if (SceneManager.GetActiveScene().name != LobbyScene) return;
|
||||
|
@ -662,18 +662,6 @@ public virtual void OnServerReady(NetworkConnection conn)
|
||||
NetworkServer.SetClientReady(conn);
|
||||
}
|
||||
|
||||
[Obsolete("Use OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage) instead")]
|
||||
public virtual void OnServerAddPlayer(NetworkConnection conn, NetworkMessage extraMessage)
|
||||
{
|
||||
OnServerAddPlayer(conn, null);
|
||||
}
|
||||
|
||||
[Obsolete("Use OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage) instead")]
|
||||
public virtual void OnServerAddPlayer(NetworkConnection conn)
|
||||
{
|
||||
OnServerAddPlayer(conn, null);
|
||||
}
|
||||
|
||||
public virtual void OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage)
|
||||
{
|
||||
if (LogFilter.Debug) Debug.Log("NetworkManager.OnServerAddPlayer");
|
||||
|
Loading…
Reference in New Issue
Block a user