Inventory (table) issue - Need help

Hey sorry to bother you! I managed to make an inventory for my game but I have an issue.
When I press my item and add it to the inventory it works great.. all work fine etc and it even put the correct item in empty slot.

BUT when I click the item in the inventory, it change the slot attribute to image none and that is great but when I then later add an item again it cannot add to empty spots if an item is next to it.

Check picture.

the blue XX are items I "used" and when adding it adds to the blue XX but stops adding when it should add to the red XX spots.
What is the issue?

Comments

Sign In or Register to comment.