v1.4.0: fixed rare cases where items could become un-ided in rankings
This commit is contained in:
@@ -323,6 +323,7 @@ public enum Rankings {
|
|||||||
Badges.loadLocal(data.getBundle(BADGES));
|
Badges.loadLocal(data.getBundle(BADGES));
|
||||||
|
|
||||||
Dungeon.hero = (Hero)data.get(HERO);
|
Dungeon.hero = (Hero)data.get(HERO);
|
||||||
|
Dungeon.hero.belongings.identify();
|
||||||
|
|
||||||
Statistics.restoreFromBundle(data.getBundle(STATS));
|
Statistics.restoreFromBundle(data.getBundle(STATS));
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -280,7 +280,7 @@ public class Belongings implements Iterable<Item> {
|
|||||||
//triggers when a run ends, so ignores lost inventory effects
|
//triggers when a run ends, so ignores lost inventory effects
|
||||||
public void identify() {
|
public void identify() {
|
||||||
for (Item item : this) {
|
for (Item item : this) {
|
||||||
item.identify();
|
item.identify(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user