segabl / gdd2017-homeless

See the world through different eyes
2 stars 0 forks source link

Using/dropping items breaks inventory #47

Closed mtoller closed 6 years ago

mtoller commented 6 years ago

When you use or drop items, the Item indexing and management gets somehow messed up

potzinger commented 6 years ago

Probably related to the giveItem function in Inventory.cs Happens when you have multiple different items, and then give an Item away

cfkh commented 6 years ago

will also have a look at it

cfkh commented 6 years ago

InventoryButtons sprites and text are reassigned with addItem functionality. Should probably divide UI and Inventory logic. Will have a look.