Fix elf resets

This commit is contained in:
thepaperpilot 2022-12-25 09:30:11 -06:00
parent 2628541bfe
commit e5e5477711

View file

@ -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();
}
}