Commit 123b9ec0 authored by yu's avatar yu

1

parent cc4c1f20
This diff is collapsed.
......@@ -375,7 +375,8 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
let count = 0;
this.cardBgs.forEach((item) => {
let desc = cc.find("desc", item);
if (desc.getComponent(cc.Label).string != "") count++
let img = cc.find("img", item);
if (img.active || desc.getComponent(cc.Label).string != "") count++
})
return count == this.cardBgs.length;
}
......
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