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 /> <br />
<span style="font-size: large"> <span style="font-size: large">
{masteryEffectActive.value ? "Requirement" : "Cost"}:{" "} {masteryEffectActive.value ? "Requirement" : "Cost"}:{" "}
{displayResource( {displayResource(trees.logs, foundationConversion.nextAt.value)}{" "}
trees.logs,
Decimal.gte(foundationConversion.actualGain.value, 1)
? foundationConversion.currentAt.value
: foundationConversion.nextAt.value
)}{" "}
{trees.logs.displayName} {trees.logs.displayName}
</span> </span>
</> </>