From 7c0e25f1390311ecd4df05b66717c18513b18bc1 Mon Sep 17 00:00:00 2001 From: unsoftcapped3 <75136164+unsoftcapped3@users.noreply.github.com> Date: Sat, 24 Dec 2022 18:22:00 -0800 Subject: [PATCH] possibly fix NaN --- 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 3a2bc57..a1eee34 100644 --- a/src/data/layers/packing.tsx +++ b/src/data/layers/packing.tsx @@ -186,7 +186,7 @@ const layer = createLayer(id, function (this: BaseLayer) { enabled: () => packingResets.value >= 1 })), createMultiplicativeModifier(() => ({ - multiplier: () => Decimal.sqrt(elfPackingSpeed.apply(1)), + multiplier: () => Decimal.sqrt(computedElfPackingSpeed.value).max(1), description: "Jingle Level 5", enabled: management.elfTraining.packingElfTraining.milestones[4].earned }))