Fix Req showing wrong value
This commit is contained in:
parent
3694e2be1f
commit
eb434656b3
1 changed files with 4 additions and 1 deletions
|
@ -96,7 +96,10 @@ export function createResetButton<T extends ClickableOptions & ResetButtonOption
|
||||||
{resetButton.conversion.buyMax ? "Next:" : "Req:"}{" "}
|
{resetButton.conversion.buyMax ? "Next:" : "Req:"}{" "}
|
||||||
{displayResource(
|
{displayResource(
|
||||||
resetButton.conversion.baseResource,
|
resetButton.conversion.baseResource,
|
||||||
unref(resetButton.conversion.nextAt)
|
resetButton.conversion.buyMax ||
|
||||||
|
Decimal.neq(1, unref(resetButton.conversion.actualGain))
|
||||||
|
? unref(resetButton.conversion.nextAt)
|
||||||
|
: unref(resetButton.conversion.currentAt)
|
||||||
)}{" "}
|
)}{" "}
|
||||||
{resetButton.conversion.baseResource.displayName}
|
{resetButton.conversion.baseResource.displayName}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue