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 73f03c410c..aa4ebb4962 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/TrialMiniGame/Logic/Game_17.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/TrialMiniGame/Logic/Game_17.lua @@ -25,7 +25,7 @@ function this.Init(context, root, gameType, gameId, gameParams) for index, value in ipairs(this.gameParams) do table.insert(this.list,value) end - this.tableTurnEffect(1) + -- this.tableTurnEffect(1) end @@ -82,6 +82,7 @@ function this.Update() if Time.realtimeSinceStartup - lastTime >= timeSpace then lastTime = Time.realtimeSinceStartup this.tableTurnEffect() + SoundManager.PlaySound(SoundConfig.UI_Xingyunzhuanpan) end end end @@ -110,7 +111,7 @@ end --设置速度 local index = 1 -function this.tableTurnEffect(index) +function this.tableTurnEffect() local red = Util.GetGameObject(this.itemsList[index],"Red") red:SetActive(false) if index == 12 then--t归零 @@ -121,9 +122,6 @@ function this.tableTurnEffect(index) index = index + 1 --检测最后的奖励 local cfg = this.TrialGameConfig[this.list[index]] - if not index then - SoundManager.PlaySound(SoundConfig.UI_Xingyunzhuanpan) - end if stopId and stopId == cfg.Id then --游戏结束显示掉落 Timer.New(function()