mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-02-16 09:31:43 +00:00
fixes elves autobuying
This commit is contained in:
parent
02a1f6d44c
commit
df645f7b47
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
while (Decimal.gte(buyProgress.value, cooldown)) {
|
||||
if (unref(options.buyable.canPurchase)) {
|
||||
options.buyable.amount.value = Decimal.add(options.buyable.amount.value, 1);
|
||||
buyProgress.value = cooldown.sub(0.1);
|
||||
buyProgress.value = cooldown.sub(cooldown);
|
||||
} else {
|
||||
buyProgress.value = cooldown;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue