I am making an inventory system. I can right click on an item to remove it from inventory, and the item will disappear from my inventory. However, when I open the inventory again, the item reappears and I have still spawn it into the level.
I added a print string to see if the remove index function was even being called, and it is being called.
Any ideas what I might be doing wrong? Thanks.