From fe0e3001ebbe5db396ec85882c71a81e957552c6 Mon Sep 17 00:00:00 2001 From: Donaldino7712 Date: Wed, 15 May 2024 20:40:37 +0200 Subject: [PATCH] Remove unused variable --- src/core/player.js | 5 +---- src/core/storage/migrations.js | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/player.js b/src/core/player.js index fbcbdf7b0..f36fbfc90 100644 --- a/src/core/player.js +++ b/src/core/player.js @@ -52,9 +52,6 @@ window.player = { requirementBits: 0, } }, - infinity: { - upgradeBits: 0 - }, auto: { autobuyersOn: true, disableContinuum: false, @@ -359,7 +356,7 @@ window.player = { previousRuns: {} }, IPMultPurchases: 0, - version: 25, + version: 26, infinityPower: DC.D1, postC4Tier: 0, eternityPoints: DC.D0, diff --git a/src/core/storage/migrations.js b/src/core/storage/migrations.js index 9d28da06b..960428f4f 100644 --- a/src/core/storage/migrations.js +++ b/src/core/storage/migrations.js @@ -419,6 +419,9 @@ export const migrations = { // This update has a rebalance that assumes the 3rd dilation repeatable is unpurchasable in cel7 if (player.celestials.pelle.doomed) player.dilation.rebuyables[3] = 0; + }, + 26: player => { + delete player.infinity.upgradeBits; } },