Potential fix for letters bug?

This commit is contained in:
thepaperpilot 2022-12-23 22:27:00 -06:00
parent 1bc299e50c
commit 081ad4fd86

View file

@ -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}
<MainDisplay resource={letters} color={color} />
{render(process)}
If your letters are stuck, try holding L
{Decimal.lt(totalLetters.value, 8e9) ? (
<div>
The more letters you process, the more you'll improve at processing letters.