Fix box maker visibility

This commit is contained in:
ducdat0507 2022-12-24 13:32:42 +07:00
parent dc6bf2714d
commit db075b9f16

View file

@ -667,7 +667,8 @@ const factory = createLayer(id, () => {
box: { box: {
amount: 2 amount: 2
} }
} },
visible: main.days[presentsDay - 1].opened
} as FactoryComponentDeclaration, } as FactoryComponentDeclaration,
blocks: { blocks: {
imageSrc: _blockMaker, imageSrc: _blockMaker,