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:
parent
4120b3265c
commit
a07d28dcee
@ -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() {
|
||||
|
@ -4,7 +4,6 @@
|
||||
* @typedef {{
|
||||
* failedMam: boolean,
|
||||
* trashedCount: number,
|
||||
* upgradedBelt: boolean,
|
||||
* usedInverseRotater: boolean
|
||||
* }} SavegameStats
|
||||
*
|
||||
|
@ -26,7 +26,6 @@ export class SavegameInterface_V1008 extends SavegameInterface_V1007 {
|
||||
Object.assign(data.stats, {
|
||||
failedMam: false,
|
||||
trashedCount: 0,
|
||||
upgradedBelt: false,
|
||||
usedInverseRotater: false
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user