Пример #1
0
        private void DoGeneticWish()
        {
            MyPlayer modplayer = Main.LocalPlayer.GetModPlayer <MyPlayer>();
            Player   player    = Main.LocalPlayer;

            modplayer.playerTrait = null;
            modplayer.ChooseTraitNoLimits();
            menuvisible          = false;
            modplayer.WishActive = false;
        }