Skip to content

Commit 43d387d

Browse files
committed
webAudio paused is true
1 parent f83d288 commit 43d387d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/audio/CCAudio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ cc.Audio = cc.Class.extend({
122122
cc.Audio.touchPlayList.push({ loop: loop, offset: offset, audio: this._element });
123123
}
124124

125-
if (cc.Audio.bindTouch === false && this._element.paused) {
125+
if (cc.Audio.bindTouch === false) {
126126
cc.Audio.bindTouch = true;
127127
// Listen to the touchstart body event and play the audio when necessary.
128128
cc.game.canvas.addEventListener('touchstart', cc.Audio.touchStart);

0 commit comments

Comments
 (0)