diff --git a/src/CheckVariables.ts b/src/CheckVariables.ts index 4ae694eb7..61138ae4b 100644 --- a/src/CheckVariables.ts +++ b/src/CheckVariables.ts @@ -622,12 +622,12 @@ export const checkVariablesOnLoad = (data: PlayerSave) => { ) player.worlds.add( 150 * shop.offeringAutoLevel + 25 / 2 * (shop.offeringAutoLevel - 1) * shop.offeringAutoLevel - - 150 * Math.min(1, shop.offeringAutoLevel), + - 150 * Math.min(1, shop.offeringAutoLevel), false ) player.worlds.add( 150 * shop.obtainiumAutoLevel + 25 / 2 * (shop.obtainiumAutoLevel - 1) * shop.obtainiumAutoLevel - - 150 * Math.min(1, shop.obtainiumAutoLevel), + - 150 * Math.min(1, shop.obtainiumAutoLevel), false ) player.worlds.add(100 * shop.cashGrabLevel + 100 / 2 * (shop.cashGrabLevel - 1) * shop.cashGrabLevel, false) @@ -720,17 +720,17 @@ export const checkVariablesOnLoad = (data: PlayerSave) => { player.loadedV253 = true player.worlds.add( 10000 * player.shopUpgrades.calculator - + 10000 / 2 * (player.shopUpgrades.calculator - 1) * (player.shopUpgrades.calculator), + + 10000 / 2 * (player.shopUpgrades.calculator - 1) * (player.shopUpgrades.calculator), false ) player.worlds.add( 10000 * player.shopUpgrades.calculator2 - + 5000 / 2 * (player.shopUpgrades.calculator2 - 1) * (player.shopUpgrades.calculator2), + + 5000 / 2 * (player.shopUpgrades.calculator2 - 1) * (player.shopUpgrades.calculator2), false ) player.worlds.add( 25000 * player.shopUpgrades.calculator3 - + 25000 / 2 * (player.shopUpgrades.calculator3 - 1) * (player.shopUpgrades.calculator3), + + 25000 / 2 * (player.shopUpgrades.calculator3 - 1) * (player.shopUpgrades.calculator3), false ) player.shopUpgrades.calculator = 0 @@ -744,7 +744,7 @@ export const checkVariablesOnLoad = (data: PlayerSave) => { player.loadedV255 = true player.worlds.add( 1000 * player.shopUpgrades.powderEX - + 1000 / 2 * (player.shopUpgrades.powderEX - 1) * (player.shopUpgrades.powderEX), + + 1000 / 2 * (player.shopUpgrades.powderEX - 1) * (player.shopUpgrades.powderEX), false ) player.shopUpgrades.powderEX = 0 diff --git a/src/Reset.ts b/src/Reset.ts index b095c562d..574481a06 100644 --- a/src/Reset.ts +++ b/src/Reset.ts @@ -82,7 +82,7 @@ export const resetdetails = (input: resetNames) => { resetObtainiumText.textContent = '' } - ; (input === 'ascensionChallenge' || input === 'ascension' || input === 'singularity') + ;(input === 'ascensionChallenge' || input === 'ascension' || input === 'singularity') ? offeringImage.style.display = offeringText.style.display = 'none' : offeringImage.style.display = offeringText.style.display = 'block' @@ -743,7 +743,7 @@ export const reset = (input: resetNames, fast = false, from = 'unknown') => { if (index >= 2 && index <= 9) { return Math.min( maxLevel * (player.challengecompletions[corrChallengeMinimum(index)] > 0 - || player.singularityUpgrades.platonicTau.getEffect().bonus + || player.singularityUpgrades.platonicTau.getEffect().bonus ? 1 : 0), curr diff --git a/src/Synergism.ts b/src/Synergism.ts index 595919e7b..c34dcd2a3 100644 --- a/src/Synergism.ts +++ b/src/Synergism.ts @@ -4732,7 +4732,7 @@ export const synergismHotkeys = (event: KeyboardEvent, key: string): void => { if (G.currentTab === Tabs.Buildings && G.buildingSubTab === 'diamond') { buyCrystalUpgrades(2) } - if (G.currentTab === Tabs.Buildings && player.achievements[113] === 1) { + if (G.currentTab === Tabs.Challenges && player.achievements[113] === 1) { toggleChallenges(7) challengeDisplay(7) } diff --git a/src/Tabs.ts b/src/Tabs.ts index 3d1e9e69c..9f09de323 100644 --- a/src/Tabs.ts +++ b/src/Tabs.ts @@ -475,7 +475,7 @@ class $Tab extends HTMLButtonElement { return this } - resetHidden() { + resetHidden () { this.#hidden = false } }