and another!
This commit is contained in:
parent
32d30d38ec
commit
64040d55a2
@ -452,7 +452,7 @@ impl CharacterInventory {
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
if let Some(InventoryItem::Individual(new_item)) = self.items.last() {
|
if let Some(InventoryItem::Individual(new_item)) = self.items.last() {
|
||||||
Some((new_item, InventorySlot(self.count())))
|
Some((new_item, InventorySlot(self.count()-1)))
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
None
|
None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user