Commit 07493792 authored by 李维's avatar 李维

延迟2秒播放结束音频

parent 81896520
...@@ -226,7 +226,11 @@ cc.Class({ ...@@ -226,7 +226,11 @@ cc.Class({
} else if (GameManager.getIns().getState() == 4) { } else if (GameManager.getIns().getState() == 4) {
this.state4TryAgain(); this.state4TryAgain();
} else if (GameManager.getIns().getState() == 5) { } else if (GameManager.getIns().getState() == 5) {
this.state5Finish(); console.log("1")
this._timeoutIds.push(setTimeout(() => {
console.log("2")
this.state5Finish();
}, 2000))
} else if (GameManager.getIns().getState() == 6) { } else if (GameManager.getIns().getState() == 6) {
} }
......
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