and another!

This commit is contained in:
jake 2020-09-27 18:05:23 -06:00
parent 32d30d38ec
commit 64040d55a2

View File

@ -452,7 +452,7 @@ impl CharacterInventory {
}));
if let Some(InventoryItem::Individual(new_item)) = self.items.last() {
Some((new_item, InventorySlot(self.count())))
Some((new_item, InventorySlot(self.count()-1)))
}
else {
None