mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
Merge pull request #2309 from cocos-creator/pandamicro-patch-1
Fix WECHAT_GAME check issue
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user