From 198b49f48752bddfe322ae0a814ce70919527cec Mon Sep 17 00:00:00 2001 From: unsoftcapped3 <75136164+unsoftcapped3@users.noreply.github.com> Date: Wed, 21 Dec 2022 03:12:07 +0000 Subject: [PATCH] remove .value --- src/data/layers/oil.tsx | 2 +- src/data/layers/plastic.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/layers/oil.tsx b/src/data/layers/oil.tsx index 4b5f00c..e9bf0a5 100644 --- a/src/data/layers/oil.tsx +++ b/src/data/layers/oil.tsx @@ -956,7 +956,7 @@ const layer = createLayer(id, function (this: BaseLayer) { createMultiplicativeModifier(() => ({ multiplier: 50, description: "350 toys", - enabled: toys.milestones.milestone4.earned.value + enabled: toys.milestones.milestone4.earned })) ]) as WithRequired; const computedOilSpeed = computed(() => oilSpeed.apply(0)); diff --git a/src/data/layers/plastic.tsx b/src/data/layers/plastic.tsx index d8a070c..b79c0b7 100644 --- a/src/data/layers/plastic.tsx +++ b/src/data/layers/plastic.tsx @@ -378,7 +378,7 @@ const layer = createLayer(id, function (this: BaseLayer) { createMultiplicativeModifier(() => ({ multiplier: 50, description: "350 toys", - enabled: toys.milestones.milestone4.earned.value + enabled: toys.milestones.milestone4.earned })) ]); const computedPlasticGain = computed(() => plasticGain.apply(0));