1
0
Fork 0
mirror of https://github.com/thepaperpilot/Advent-Incremental.git synced 2025-03-22 22:21:41 +00:00

Fixed foundation cost display

This commit is contained in:
Jacorb90 2022-12-01 23:52:57 -05:00
parent a0f37285d7
commit 52b51fea90

View file

@ -44,7 +44,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
<br />
<br />
<span style="font-size: large">
Req: {displayResource(trees.logs, foundationConversion.currentAt.value)}{" "}
Cost: {displayResource(trees.logs, Decimal.gte(foundationConversion.actualGain.value, 1) ? foundationConversion.currentAt.value : foundationConversion.nextAt.value)}{" "}
{trees.logs.displayName}
</span>
</>