v0.9.0b: fixed badge bugfix not checking for a win
This commit is contained in:
parent
7c4f562e3a
commit
003e797112
|
@ -168,7 +168,7 @@ public class WelcomeScene extends PixelScene {
|
|||
for (Rankings.Record rec : Rankings.INSTANCE.records.toArray(new Rankings.Record[0])){
|
||||
try {
|
||||
Rankings.INSTANCE.loadGameData(rec);
|
||||
highestChalInRankings = Math.max(highestChalInRankings, Challenges.activeChallenges());
|
||||
if (rec.win) highestChalInRankings = Math.max(highestChalInRankings, Challenges.activeChallenges());
|
||||
Rankings.INSTANCE.saveGameData(rec);
|
||||
} catch (Exception e) {
|
||||
//if we encounter a fatal per-record error, then clear that record
|
||||
|
|
Loading…
Reference in New Issue
Block a user