mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-21 08:12:41 +00:00
Hard cap packing resets to 3
This commit is contained in:
parent
1316f1bf01
commit
cb2c77fa00
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}));
|
||||
|
||||
|
|
Loading…
Reference in a new issue