mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-02-07 10:41:36 +00:00
Carol doesn't reset anything
This commit is contained in:
parent
c50b9873c5
commit
6d7aa5f3ac
1 changed files with 5 additions and 1 deletions
|
@ -676,7 +676,11 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
style: "width: 190px",
|
style: "width: 190px",
|
||||||
onPurchase() {
|
onPurchase() {
|
||||||
options.onPurchase?.();
|
options.onPurchase?.();
|
||||||
if (!["Peppermint", "Twinkle", "Cocoa", "Frosty"].includes(options.name)) {
|
if (
|
||||||
|
!["Peppermint", "Twinkle", "Cocoa", "Frosty", "Carol"].includes(
|
||||||
|
options.name
|
||||||
|
)
|
||||||
|
) {
|
||||||
elfReset.reset();
|
elfReset.reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue