private static void MessageHandler(byte[] bytes) { try { ClientMessage Recieved = Utilities.Utility.Deserialize <ClientMessage>(bytes); if (Recieved.MessageType == ClientMessageType.TransferServer) { Transfer TransferMessage = Recieved.DeserializeData <Transfer>(); IsSwitching = true; TransferMessage.PingServerAndBeginRedirect(); RanJoin = false; MySession.Static.SetCameraController(VRage.Game.MyCameraControllerEnum.SpectatorFixed); //DisposeInitilizations(); } } catch (Exception ex) { TryShow(ex.ToString()); } }