From e5c91eff67001ce1b4202ed2620ef9261e1ceabb Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Wed, 16 Sep 2020 10:14:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9F=B3=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Formation/FormationPanelV2.lua | 2 +- Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua b/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua index f23cd80dbc..7c776b8370 100644 --- a/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua +++ b/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua @@ -233,7 +233,7 @@ function this:OnOpen(_panelType,...) this.opView.Init(this, ...) this.curFormationIndex = this.opView.GetFormationIndex() FormationManager.currentFormationIndex = this.opView.GetFormationIndex() - SoundManager.PlaySound(SoundConfig.Sound_BattleStart_01) + PlaySoundWithoutClick(SoundConfig.Sound_BattleStart_01) end function this:OnShow() diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua index dc841718d7..f615ae3ef5 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua @@ -190,8 +190,7 @@ function RewardItemPopup:OnOpen(...) elseif #itemDataList > 25 then self:SetItemShowMax(drop) end - -- SoundManager.PlaySound(SoundConfig.Sound_Reward) - PlaySoundWithoutClick(SoundConfig.Sound_Reward) + -- PlaySoundWithoutClick(SoundConfig.Sound_Reward) this.ShowLvAndExp() self:SelectCanPopUpBagMaxMessage() end