Browse Source

修复bgm可能多次播放的问题

sa03 6 years ago
parent
commit
32edeb98a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/scripts/AudioMng.js

+ 1 - 1
assets/scripts/AudioMng.js

@@ -49,7 +49,7 @@ cc.Class({
     onLoad () {
         GameModule.audioMng = this;
         this.currentAudio = {};
-
+        this.stopAll();
         this.playBgm();
     },