Update NetworkLobbyManager.cs (#442)

Removed two unused methods
This commit is contained in:
MrGadget 2019-02-25 07:27:27 -05:00 committed by Paul Pacheco
parent 7323d450ad
commit 3735b3bd72

View File

@ -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))