Fix sawmill visibility

This commit is contained in:
ducdat0507 2022-12-24 13:27:46 +07:00
parent 11d3e05e03
commit dc6bf2714d

View file

@ -505,8 +505,7 @@ const factory = createLayer(id, () => {
plank: { plank: {
amount: computed(() => (upgrades[0][0].bought.value ? 2 : 1)) amount: computed(() => (upgrades[0][0].bought.value ? 2 : 1))
} }
}, }
visible: main.days[presentsDay - 1].opened
} as FactoryComponentDeclaration, } as FactoryComponentDeclaration,
thread: { thread: {
imageSrc: _threadMaker, imageSrc: _threadMaker,