v1.4.0: fixed amulet scene not saving badges when it should

This commit is contained in:
Evan Debenham
2022-08-01 18:50:01 -04:00
parent 59341628bc
commit 1df169f533

View File

@@ -107,6 +107,7 @@ public class Amulet extends Item {
Badges.validateChampion(Challenges.activeChallenges()); Badges.validateChampion(Challenges.activeChallenges());
try { try {
Dungeon.saveAll(); Dungeon.saveAll();
Badges.saveGlobal();
} catch (IOException e) { } catch (IOException e) {
ShatteredPixelDungeon.reportException(e); ShatteredPixelDungeon.reportException(e);
} }