mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-21 16:13:54 +00:00
Fix conversion utility showing currentAt instead of nextAt
This commit is contained in:
parent
4d7f03d543
commit
0e1915f511
1 changed files with 3 additions and 3 deletions
|
@ -134,9 +134,9 @@ export function createResetButton<T extends ClickableOptions & ResetButtonOption
|
|||
{displayResource(
|
||||
resetButton.conversion.baseResource,
|
||||
unref(resetButton.conversion.buyMax) ||
|
||||
Decimal.floor(unref(resetButton.conversion.actualGain)).neq(1)
|
||||
? unref(resetButton.conversion.nextAt)
|
||||
: unref(resetButton.conversion.currentAt)
|
||||
Decimal.lt(unref(resetButton.conversion.actualGain), 1)
|
||||
? unref(resetButton.conversion.currentAt)
|
||||
: unref(resetButton.conversion.nextAt)
|
||||
)}{" "}
|
||||
{resetButton.conversion.baseResource.displayName}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue