v1.4.0: fixed rare cases where items could become un-ided in rankings

This commit is contained in:
Evan Debenham
2022-09-27 18:00:50 -04:00
parent 6d721d3b54
commit 27aeb8d398
2 changed files with 2 additions and 1 deletions

View File

@@ -323,6 +323,7 @@ public enum Rankings {
Badges.loadLocal(data.getBundle(BADGES));
Dungeon.hero = (Hero)data.get(HERO);
Dungeon.hero.belongings.identify();
Statistics.restoreFromBundle(data.getBundle(STATS));

View File

@@ -280,7 +280,7 @@ public class Belongings implements Iterable<Item> {
//triggers when a run ends, so ignores lost inventory effects
public void identify() {
for (Item item : this) {
item.identify();
item.identify(false);
}
}