mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
parent
7323d450ad
commit
3735b3bd72
@ -135,16 +135,6 @@ public void CheckReadyToBegin()
|
||||
OnLobbyServerPlayersReady();
|
||||
}
|
||||
|
||||
public void ServerReturnToLobby()
|
||||
{
|
||||
if (!NetworkServer.active)
|
||||
{
|
||||
Debug.Log("ServerReturnToLobby called on client");
|
||||
return;
|
||||
}
|
||||
ServerChangeScene(LobbyScene);
|
||||
}
|
||||
|
||||
void CallOnClientEnterLobby()
|
||||
{
|
||||
OnLobbyClientEnter();
|
||||
@ -295,13 +285,6 @@ public override void OnServerSceneChanged(string sceneName)
|
||||
OnLobbyServerSceneChanged(sceneName);
|
||||
}
|
||||
|
||||
void OnServerReturnToLobbyMessage(NetworkMessage netMsg)
|
||||
{
|
||||
if (LogFilter.Debug) Debug.Log("NetworkLobbyManager OnServerReturnToLobbyMessage");
|
||||
|
||||
ServerReturnToLobby();
|
||||
}
|
||||
|
||||
public override void OnStartServer()
|
||||
{
|
||||
if (string.IsNullOrEmpty(LobbyScene))
|
||||
|
Loading…
Reference in New Issue
Block a user