From 90114f6eb3436ca91d15b28b4f60f5de7630e4d7 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Mon, 23 May 2022 22:32:24 -0500 Subject: [PATCH] Fix reset buttons not displaying Req if buyMax is true (but computed) --- src/data/common.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/common.tsx b/src/data/common.tsx index 03a3145..9840520 100644 --- a/src/data/common.tsx +++ b/src/data/common.tsx @@ -106,10 +106,10 @@ export function createResetButton
- {resetButton.conversion.buyMax ? "Next:" : "Req:"}{" "} + {unref(resetButton.conversion.buyMax) ? "Next:" : "Req:"}{" "} {displayResource( resetButton.conversion.baseResource, - resetButton.conversion.buyMax || + unref(resetButton.conversion.buyMax) || Decimal.floor(unref(resetButton.conversion.actualGain)).neq(1) ? unref(resetButton.conversion.nextAt) : unref(resetButton.conversion.currentAt)