@@ -1190,7 +1190,7 @@ Manage.prototype.switchBgmState = function(state){//按钮的状态完全代表
SoundManager.pause('bgm')
}
- player.model.hotGroup.children.forEach(hot=>{
+ player?.model?.hotGroup?.children.forEach(hot=>{
hot.updateMute()
})