From cb2c77fa00a0ead43bc03f88121f92f6344bceda Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 25 Dec 2022 17:08:37 -0600 Subject: [PATCH] Hard cap packing resets to 3 --- src/data/layers/packing.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/layers/packing.tsx b/src/data/layers/packing.tsx index 27bfa79..a18f51e 100644 --- a/src/data/layers/packing.tsx +++ b/src/data/layers/packing.tsx @@ -54,7 +54,7 @@ const layer = createLayer(id, function (this: BaseLayer) { const packingReset = createReset(() => ({ thingsToReset: [elf as any, loader as any, packedPresents], onReset() { - packingResets.value++; + packingResets.value = Math.min(3, packingResets.value + 1); } }));