# Conflicts: # settings/builder.json
@@ -373,6 +373,11 @@ class Platform {
static handelOnShow() {
if (GameGlobal.isOnHide) {
+
+ if (GameModule.audioMng) {
+ GameModule.audioMng.playBgm();
+ }
GameGlobal.isOnHide = false;
//客户端优先刷新技能使用情况
@@ -107,6 +107,7 @@ cc.Class({
*/
stopAll () {
cc.audioEngine.stopAll();
+ delete this.currentAudio['bgm'];
},
/**