Commit 83016663 authored by limingzhe's avatar limingzhe

fix: debug

parent f5542ee1
{"ver":"1.1.2","uuid":"88b8a651-1342-4179-9aee-2419e42c5e4a","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}} {
\ No newline at end of file "ver": "1.1.2",
"uuid": "88b8a651-1342-4179-9aee-2419e42c5e4a",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
...@@ -514,11 +514,15 @@ cc.Class({ ...@@ -514,11 +514,15 @@ cc.Class({
if (!url) { if (!url) {
return; return;
} }
this.isPlayTip = true; if (!this.canTouch) {
return;
}
this.canTouch = false;
this.playCatAudio(url, () => { this.playCatAudio(url, () => {
this.isPlayTip = false; this.canTouch = true;
}) })
}) })
...@@ -6491,6 +6495,8 @@ cc.Class({ ...@@ -6491,6 +6495,8 @@ cc.Class({
return; return;
} }
if (data.audio_url) { if (data.audio_url) {
cc.audioEngine.stopAllEffects();
playAudioByUrl(data.audio_url); playAudioByUrl(data.audio_url);
} }
}) })
......
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