From 83a22c48b84a514f8a0ecd1fb83c4fa23889bf4b Mon Sep 17 00:00:00 2001 From: chenxi Date: Tue, 6 Jun 2023 11:42:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E9=9F=B3=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/ui/hero/cell/hero_list_cell.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/app/ui/hero/cell/hero_list_cell.lua b/lua/app/ui/hero/cell/hero_list_cell.lua index 5633db94..145c88d9 100644 --- a/lua/app/ui/hero/cell/hero_list_cell.lua +++ b/lua/app/ui/hero/cell/hero_list_cell.lua @@ -55,6 +55,7 @@ function HeroListCell:refresh(index, heroList, stageFormation, allHeroCount, act self.heroCells[i]:refresh(heroEntity, not heroEntity:isActived()) self.heroCells[i]:showCheck(stageFormation[matchType] == heroId) self.heroCells[i]:addClickListener(function() + AudioManager:playEffect(AudioManager.CLICK_ID[GConst.CLICK_SOUND.NORMAL]) if func then func(self.heroCells[i], heroId) end @@ -68,6 +69,7 @@ function HeroListCell:refresh(index, heroList, stageFormation, allHeroCount, act self.heroCells[i]:setVisible(true) self.heroCells[i]:refresh(heroEntity, true) self.heroCells[i]:addClickListener(function() + AudioManager:playEffect(AudioManager.CLICK_ID[GConst.CLICK_SOUND.NORMAL]) if func then func(self.heroCells[i], heroId) end