mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-12-12 09:11:35 +00:00
Fix elf resets
This commit is contained in:
parent
2628541bfe
commit
e5e5477711
1 changed files with 1 additions and 1 deletions
|
@ -768,7 +768,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
style: "width: 190px",
|
style: "width: 190px",
|
||||||
onPurchase() {
|
onPurchase() {
|
||||||
options.onPurchase?.();
|
options.onPurchase?.();
|
||||||
if (!elvesThatReset.includes(options.name)) {
|
if (elvesThatReset.includes(options.name)) {
|
||||||
elfReset.reset();
|
elfReset.reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue