mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-23 17:01:49 +00:00
Potential fix for letters bug?
This commit is contained in:
parent
1bc299e50c
commit
081ad4fd86
1 changed files with 3 additions and 5 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue