Commit 43aa1903 authored by 杨一航's avatar 杨一航

fix

parent b6de10fb
...@@ -557,8 +557,9 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -557,8 +557,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
let node = cc.find(`Canvas/road/root/piece${this._status.current}`); let node = cc.find(`Canvas/road/root/piece${this._status.current}`);
let nowIdx = this._status[this._status.current]; let nowIdx = this._status[this._status.current];
let nextIdx = nowIdx + this._status.step; let nextIdx = nowIdx + this._status.step;
this.playLocalAudio("wrong");
await this.pieceMove(node, nowIdx, nextIdx); await this.pieceMove(node, nowIdx, nextIdx);
this.playLocalAudio("wrong");
//todo //todo
// this.playLocalAudio("wrong"); // this.playLocalAudio("wrong");
} }
......
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