mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkLobbyManager: Added Obsoleted Method (#591)
This commit is contained in:
parent
f17ddfec5f
commit
dc0b8d406a
@ -195,6 +195,12 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user