Fix conversion utility showing currentAt instead of nextAt

This commit is contained in:
thepaperpilot 2023-05-07 21:51:11 -05:00
parent 4d7f03d543
commit 0e1915f511

View file

@ -134,9 +134,9 @@ export function createResetButton<T extends ClickableOptions & ResetButtonOption
{displayResource( {displayResource(
resetButton.conversion.baseResource, resetButton.conversion.baseResource,
unref(resetButton.conversion.buyMax) || unref(resetButton.conversion.buyMax) ||
Decimal.floor(unref(resetButton.conversion.actualGain)).neq(1) Decimal.lt(unref(resetButton.conversion.actualGain), 1)
? unref(resetButton.conversion.nextAt) ? unref(resetButton.conversion.currentAt)
: unref(resetButton.conversion.currentAt) : unref(resetButton.conversion.nextAt)
)}{" "} )}{" "}
{resetButton.conversion.baseResource.displayName} {resetButton.conversion.baseResource.displayName}
</div> </div>