Ejemplo n.º 1
0
        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();
        }