Fixed independent conversions showing values over 1 when buyMax is false
This commit is contained in:
parent
78262996ad
commit
52864964a2
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ export function createResetButton<T extends ClickableOptions & ResetButtonOption
|
||||||
{displayResource(
|
{displayResource(
|
||||||
resetButton.conversion.baseResource,
|
resetButton.conversion.baseResource,
|
||||||
resetButton.conversion.buyMax ||
|
resetButton.conversion.buyMax ||
|
||||||
Decimal.neq(1, unref(resetButton.conversion.actualGain))
|
Decimal.floor(unref(resetButton.conversion.actualGain)).neq(1)
|
||||||
? unref(resetButton.conversion.nextAt)
|
? unref(resetButton.conversion.nextAt)
|
||||||
: unref(resetButton.conversion.currentAt)
|
: unref(resetButton.conversion.currentAt)
|
||||||
)}{" "}
|
)}{" "}
|
||||||
|
|
Loading…
Reference in a new issue