From 081ad4fd860c10d9c8a4d7f3494d71dd7b195739 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Fri, 23 Dec 2022 22:27:00 -0600 Subject: [PATCH] Potential fix for letters bug? --- src/data/layers/letters.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/data/layers/letters.tsx b/src/data/layers/letters.tsx index 6f27eb6..a086407 100644 --- a/src/data/layers/letters.tsx +++ b/src/data/layers/letters.tsx @@ -76,10 +76,9 @@ const layer = createLayer(id, function (this: BaseLayer) { if (Decimal.lt(processingProgress.value, computedProcessingCooldown.value)) { return; } - const amount = Decimal.div( - processingProgress.value, - computedProcessingCooldown.value - ).floor(); + const amount = Decimal.div(processingProgress.value, computedProcessingCooldown.value) + .floor() + .max(1); letters.value = Decimal.times(amount, computedLettersGain.value) .add(letters.value) .min(8e9); @@ -339,7 +338,6 @@ const layer = createLayer(id, function (this: BaseLayer) { ) : null} {render(process)} - If your letters are stuck, try holding L {Decimal.lt(totalLetters.value, 8e9) ? (
The more letters you process, the more you'll improve at processing letters.