Fix WECHAT_GAME check issue

This commit is contained in:
pandamicro
2018-02-02 18:35:56 +08:00
committed by GitHub
parent 82f36b5400
commit 09a1514789
+1 -1
View File
@@ -360,7 +360,7 @@ var WebAudioElement = function (buffer, audio) {
var self = this;
clearTimeout(this._currextTimer);
this._currextTimer = setTimeout(function () {
if (sys.platform === sys.WECHAT_GAME && self._context.currentTime === 0) {
if (sys.platform !== sys.WECHAT_GAME && self._context.currentTime === 0) {
touchPlayList.push({
instance: self._audio,
offset: offset,