v0.2.2: fixed a couple bugs with keys and stackable items
This commit is contained in:
@@ -124,7 +124,7 @@ public class Belongings implements Iterable<Item> {
|
||||
|
||||
for (Item item : backpack) {
|
||||
if (item instanceof IronKey && ((IronKey)item).depth == Dungeon.depth) {
|
||||
IronKey.curDepthQuantity++;
|
||||
IronKey.curDepthQuantity += item.quantity();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user