mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-01-31 07:31:37 +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",
|
||||
onPurchase() {
|
||||
options.onPurchase?.();
|
||||
if (!["Peppermint", "Twinkle", "Cocoa", "Frosty"].includes(options.name)) {
|
||||
if (
|
||||
!["Peppermint", "Twinkle", "Cocoa", "Frosty", "Carol"].includes(
|
||||
options.name
|
||||
)
|
||||
) {
|
||||
elfReset.reset();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue