Always update the total levels in a pack when saving scores

This commit is contained in:
Eevee (Evelyn Woods) 2021-01-11 01:34:14 -07:00
parent 73fff50a00
commit 83f0ac9813

View File

@ -1672,6 +1672,7 @@ class Player extends PrimaryView {
savefile.aidless_levels = (savefile.aidless_levels ?? 0) + 1;
}
savefile.total_levels = this.conductor.stored_game.level_metadata.length;
savefile.scorecards[level_index] = scorecard;
this.conductor.save_savefile();
}