diff --git a/src/data/layers/letters.tsx b/src/data/layers/letters.tsx index d7bb010..1191824 100644 --- a/src/data/layers/letters.tsx +++ b/src/data/layers/letters.tsx @@ -79,7 +79,9 @@ const layer = createLayer(id, function (this: BaseLayer) { processingProgress.value, computedProcessingCooldown.value ).floor(); - letters.value = Decimal.times(amount, computedLettersGain.value).add(letters.value); + letters.value = Decimal.times(amount, computedLettersGain.value) + .add(letters.value) + .min(8e9); processingProgress.value = 0; } })); @@ -216,7 +218,6 @@ const layer = createLayer(id, function (this: BaseLayer) { multiplier: () => Decimal.div(paperBuyable.amount.value, 2).add(1), description: "Printed Labels" })) - ]); const computedLettersGain = computed(() => lettersGain.apply(1)); const processingCooldown = createSequentialModifier(() => [ diff --git a/src/data/projEntry.tsx b/src/data/projEntry.tsx index 84e14dd..7b2ac9e 100644 --- a/src/data/projEntry.tsx +++ b/src/data/projEntry.tsx @@ -615,29 +615,5 @@ export function fixOldSave( oldVersion: string | undefined, player: Partial // eslint-disable-next-line @typescript-eslint/no-empty-function -): void { - if (!["0.0", "0.1", "0.2", "0.3", "0.4"].includes(oldVersion ?? "")) { - return; - } - if ((player.layers?.workshop as LayerData | undefined)?.foundationProgress) { - (player.layers?.workshop as LayerData | undefined)!.foundationProgress = - Decimal.min( - (player.layers!.workshop as LayerData | undefined)! - .foundationProgress!, - 1000 - ); - } - /*player.offlineProd = false; - delete player.layers?.management; - if ((player.layers?.main as LayerData | undefined)?.days?.[11]) { - (player.layers!.main as LayerData).days![11].opened = false; - } - if ((player.layers?.main as LayerData | undefined)?.day === 12) { - (player.layers!.main as LayerData).day === 11; - player.devSpeed = 0; - } - if (player.tabs) { - player.tabs = player.tabs.filter(l => l !== "management"); - }*/ -} +): void {} /* eslint-enable @typescript-eslint/no-unused-vars */