mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-21 08:12:38 +00:00
Fix reset button showing currentAt if buyMax is true
This commit is contained in:
parent
c0a446d6dd
commit
c55d68f69b
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ export function createResetButton<T extends ClickableOptions & ResetButtonOption
|
|||
{unref(resetButton.conversion.buyMax) ? "Next:" : "Req:"}{" "}
|
||||
{displayResource(
|
||||
resetButton.conversion.baseResource,
|
||||
unref(resetButton.conversion.buyMax) ||
|
||||
!unref(resetButton.conversion.buyMax) ||
|
||||
Decimal.lt(unref(resetButton.conversion.actualGain), 1)
|
||||
? unref(resetButton.conversion.currentAt)
|
||||
: unref(resetButton.conversion.nextAt)
|
||||
|
|
Loading…
Reference in a new issue