Fixed workshop display

This commit is contained in:
thepaperpilot 2022-12-20 21:40:55 -06:00
parent 850ccdbd5f
commit cb3b66bdb7

View file

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