public static void LeaveGame() { networkProvider.DestroySession(); SimulatedWorld.Clear(); if (!UIRoot.instance.backToMainMenu) { UIRoot.instance.backToMainMenu = true; DSPGame.EndGame(); } }
public static void LeaveGame() { networkProvider.DestroySession(); PendingFactories.Clear(); IsMasterClient = false; SimulatedWorld.Clear(); if (!UIRoot.instance.backToMainMenu) { UIRoot.instance.backToMainMenu = true; DSPGame.EndGame(); } }