diff --git a/Assets/ManagedResources/~Lua/Modules/Map/TrialMiniGame/Logic/Game_16.lua b/Assets/ManagedResources/~Lua/Modules/Map/TrialMiniGame/Logic/Game_16.lua index 56bb679b9f..a0c7296969 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/TrialMiniGame/Logic/Game_16.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/TrialMiniGame/Logic/Game_16.lua @@ -50,6 +50,8 @@ end function this.Close() this.root:SetActive(false) + + SoundManager.PlaySound(SoundConfig.BGM_CarbonMap) end function this.Destroy() diff --git a/Assets/ManagedResources/~Lua/Modules/Map/TrialMiniGame/Logic/Game_17.lua b/Assets/ManagedResources/~Lua/Modules/Map/TrialMiniGame/Logic/Game_17.lua index 168e58855d..73f03c410c 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/TrialMiniGame/Logic/Game_17.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/TrialMiniGame/Logic/Game_17.lua @@ -110,7 +110,7 @@ end --设置速度 local index = 1 -function this.tableTurnEffect() +function this.tableTurnEffect(index) local red = Util.GetGameObject(this.itemsList[index],"Red") red:SetActive(false) if index == 12 then--t归零 @@ -121,7 +121,9 @@ function this.tableTurnEffect() index = index + 1 --检测最后的奖励 local cfg = this.TrialGameConfig[this.list[index]] - SoundManager.PlaySound(SoundConfig.UI_Xingyunzhuanpan) + if not index then + SoundManager.PlaySound(SoundConfig.UI_Xingyunzhuanpan) + end if stopId and stopId == cfg.Id then --游戏结束显示掉落 Timer.New(function()