diff --git a/src/components/Options.vue b/src/components/Options.vue index 657388f..08245dc 100644 --- a/src/components/Options.vue +++ b/src/components/Options.vue @@ -98,7 +98,7 @@ const isPaused = computed({ }); const canAutoSave = computed( - () => (layers as any).main.days[(layers as any).main.day.value - 1].opened.value + () => (layers as any).main?.days[(layers as any).main?.day.value - 1].opened.value ); const autosaveTitle = jsx(() => ( diff --git a/src/data/layers/letters.tsx b/src/data/layers/letters.tsx index 62b8e13..6f27eb6 100644 --- a/src/data/layers/letters.tsx +++ b/src/data/layers/letters.tsx @@ -339,6 +339,7 @@ const layer = createLayer(id, function (this: BaseLayer) { ) : null} {render(process)} + If your letters are stuck, try holding L {Decimal.lt(totalLetters.value, 8e9) ? (
The more letters you process, the more you'll improve at processing letters. diff --git a/src/data/layers/workshop.tsx b/src/data/layers/workshop.tsx index 831761c..b550e2e 100644 --- a/src/data/layers/workshop.tsx +++ b/src/data/layers/workshop.tsx @@ -123,6 +123,9 @@ const layer = createLayer(id, function (this: BaseLayer) { )), visibility: () => showIf(Decimal.lt(foundationProgress.value, computedMaxFoundation.value)), canClick: () => { + if (Decimal.gt(computedMaxFoundation.value, foundationProgress.value)){ + foundationProgress.value = Decimal.min(0, computedMaxFoundation.value) + } if (Decimal.lt(trees.logs.value, foundationConversion.nextAt.value)) { return false; }