void MoveToSelected()
        {
            table.SetBlockTo(game.Inventory.Selected);
            table.Recreate();
            deferredSelect = false;

            // User is holding invalid block
            if (table.SelectedIndex == -1)
            {
                table.MakeDescTex(game.Inventory.Selected);
            }
        }
Exemplo n.º 2
0
 protected override void ContextRecreated()
 {
     table.Recreate();
 }