1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

Remove superfluous achievement stat

This commit is contained in:
Greg Considine 2021-03-09 19:18:35 -05:00
parent 4120b3265c
commit a07d28dcee
3 changed files with 2 additions and 5 deletions

View File

@ -601,13 +601,12 @@ export class AchievementCollection {
/** @returns {boolean} */
isNoBeltUpgradesUntilBpRelevant() {
return this.root.hubGoals.level <= 12 &&
!this.root.savegame.currentData.stats.upgradedBelt;
return this.root.hubGoals.level <= 12 && this.root.hubGoals.upgradeLevels.belt === 0;
}
/** @params {number} level @returns {boolean} */
isNoBeltUpgradesUntilBpValid(level) {
return level === 12 && !this.root.savegame.currentData.stats.upgradedBelt;
return level === 12 && this.root.hubGoals.upgradeLevels.belt === 0;
}
initNoInverseRotater() {

View File

@ -4,7 +4,6 @@
* @typedef {{
* failedMam: boolean,
* trashedCount: number,
* upgradedBelt: boolean,
* usedInverseRotater: boolean
* }} SavegameStats
*

View File

@ -26,7 +26,6 @@ export class SavegameInterface_V1008 extends SavegameInterface_V1007 {
Object.assign(data.stats, {
failedMam: false,
trashedCount: 0,
upgradedBelt: false,
usedInverseRotater: false
});
}