Browse Source

and another!

pbs
jake 4 years ago
parent
commit
64040d55a2
  1. 2
      src/ship/items/inventory.rs

2
src/ship/items/inventory.rs

@ -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

Loading…
Cancel
Save