Commit 276f783a authored by 李维's avatar 李维

fix: 修复跳过后无法解锁的问题

parent c3f6b446
......@@ -462,7 +462,8 @@ export abstract class middleLayerBase extends cc.Component {
yesBtn.on('click', async () => {
tipsLayer.active = false;
const middleLayer = cc.find('middleLayer').getComponent("middleLayer");
await middleLayer.saveAnswer(null);
await middleLayer.saveAnswer({"isWin":true});
await middleLayer.showAllFinishLayer();
middleLayer.showCourseEndConfirm();
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment