Commit d9111ca0 authored by yu's avatar yu

多选错误次数

parent 773fa130
......@@ -114,6 +114,7 @@ export default class layout_game extends cc.Component {
data.touchRight = true;
this.rightNum++;
item.opacity = 0;
this.wrongNum = 0;
pg.audio.playAudioByUrl(data.audioUrl, () => {
let pag = Game.getIns().getCurrentPage()
if (this.rightNum >= pag.rNum) {
......
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