Ejemplo n.º 1
0
        public void DestroyBot()
        {
            // do not destroy avatar
            if (this.ownedItems.Count == 1)
            {
                return;
            }

            MyItem item = this.ownedItems[this.ownedItems.Count - 1];

            this.ownedItems.RemoveAt(this.ownedItems.Count - 1);
            item.Destroy();

            ////this.LogInfo(this.Game, (this.ownedItems.Count - 1) + " Bots running");
        }