Commit 9427fd42 authored by 杨一航's avatar 杨一航

fix

parent 6c435b0f
...@@ -525,8 +525,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -525,8 +525,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 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("piece"); this.playLocalAudio("piece");
let word = await this.pieceMove(); let word = this._cardList[this._status.step].getComponent(BoardCardItem)._word
if (this.isMySide) { if (this.isMySide) {
let card = this._cardList[this._status.step]; let card = this._cardList[this._status.step];
await asyncDelay(0.5); await asyncDelay(0.5);
......
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