public void Shutdown() { Debug.Assert(IsRunning); SavePlayer(); OnShutdown = null; IsHost = false; ClearCountdownNotification(); UnregisterCallbacks(); Peers.Shutdown(); NewPlayer -= MyMultiplayerGameplay_NewPlayer; MyEntityIdentifier.CurrentPlayerId = 0; m_lastAmmoAssignment = null; StoredShip = null; Init(); }