Hard cap packing resets to 3

This commit is contained in:
thepaperpilot 2022-12-25 17:08:37 -06:00
parent 1316f1bf01
commit cb2c77fa00

View file

@ -54,7 +54,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
const packingReset = createReset(() => ({ const packingReset = createReset(() => ({
thingsToReset: [elf as any, loader as any, packedPresents], thingsToReset: [elf as any, loader as any, packedPresents],
onReset() { onReset() {
packingResets.value++; packingResets.value = Math.min(3, packingResets.value + 1);
} }
})); }));