public void OnLevelWasLoaded(int level) { Console.WriteLine("Loading scene " + level); if (level == 1) { BSMultiplayerUI.OnLoad(); BSMultiplayerMain.OnLoad(level); } else if (level > 1) { BSMultiplayerMain.OnLoad(level); } }
public void OnLevelWasLoaded(int level) { Console.WriteLine("Loading scene " + level); if (level == 1) { Config.Instance.Save(); BSMultiplayerUI.OnLoad(); BSMultiplayerClient.OnLoad(level, Version); } else if (level > 1) { BSMultiplayerClient.OnLoad(level, Version); } }