fixes autosmelt display showing up earlier than normal

This commit is contained in:
circle-gon 2022-12-06 21:10:04 -05:00 committed by GitHub
parent a1baaf14fb
commit 84f4f94e4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -426,7 +426,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
sticky={false}
productionDisplay={jsx(() => (
<>
{autoSmeltEnabled.value
{autoSmeltEnabled.value && Decimal.gte(industrialCrucible.amount.value, 1)
? `+${formatLimit(
[
[computedMetalGain.value, "smelting speed"],