From e5e547771109ee1debdfbb39fa21ddc9a086ce2b Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 25 Dec 2022 09:30:11 -0600 Subject: [PATCH] Fix elf resets --- src/data/layers/elves.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/layers/elves.tsx b/src/data/layers/elves.tsx index b0ebe72..6e8a1a7 100644 --- a/src/data/layers/elves.tsx +++ b/src/data/layers/elves.tsx @@ -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(); } }