Example #1
0
    private void OrganizeAfterToggle(InventoryHolder invHolder, int pos, bool equip)
    {
        int newPos = invHolder.FindFirstEmptySlot();

        invHolder.MoveItem(pos, newPos, 1);
        invHolder.ItemHolders[newPos].IsEquipped = equip;
    }