mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-12-03 13:21:31 +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",
|
||||
onPurchase() {
|
||||
options.onPurchase?.();
|
||||
if (!elvesThatReset.includes(options.name)) {
|
||||
if (elvesThatReset.includes(options.name)) {
|
||||
elfReset.reset();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue