Move bonfire condition to correct buyable

This commit is contained in:
Seth Posner 2022-12-06 17:34:40 -08:00
parent 43ae56d901
commit c26f7ddd21

View file

@ -98,8 +98,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
style: {
color: colorText,
width: "160px"
},
visibility: () => showIf(unlockBonfire.bought.value)
}
})) as GenericBuyable & { resource: Resource };
const minFire = createClickable(() => ({
display: "0",
@ -175,7 +174,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
style: {
color: colorText,
width: "160px"
}
},
visibility: () => showIf(unlockBonfire.bought.value)
})) as GenericBuyable & { resource: Resource };
const minBonfire = createClickable(() => ({
display: "0",