void OnFriendlyFire(ref MyEventFriendlyFire msg)
        {
            switch(msg.FriendlyFireType)
            {
                case MyFriendlyFireEnum.AGGRO:
                    MyFriendlyFire.MakeEnemy(MySession.Static.Player.Faction);
                    MyFriendlyFire.StartGameoverTimer();
                    break;

                case MyFriendlyFireEnum.GAME_FAILED:
                    MyFriendlyFire.Fail();
                    break;

                default:
                    Alert("Unknown friendly fire type", msg.SenderEndpoint, msg.EventType);
                    break;
            }
        }
        public void FriendlyFire(MyFriendlyFireEnum type)
        {
            var msg = new MyEventFriendlyFire();
            msg.FriendlyFireType = type;

            Peers.SendToAll(ref msg, NetDeliveryMethod.ReliableOrdered, 0);
        }