Skip to content

Commit

Permalink
1.2: fixed the rest of compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TrashboxBobylev committed Sep 5, 2023
1 parent a12aef8 commit 816489d
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,6 @@ private void updateVersion(int previousVersion){
Badges.loadGlobal();
Journal.loadGlobal();

//pre-unlock Duelist for those who already have a win
if (previousVersion <= ShatteredPixelDungeon.v2_0_2){
if (Badges.isUnlocked(Badges.Badge.VICTORY) && !Badges.isUnlocked(Badges.Badge.UNLOCK_DUELIST)){
Badges.unlock(Badges.Badge.UNLOCK_DUELIST);
}
}

try {
Rankings.INSTANCE.load();
for (Rankings.Record rec : Rankings.INSTANCE.records.toArray(new Rankings.Record[0])){
Expand Down

0 comments on commit 816489d

Please sign in to comment.