From c64788d22eb5eb3034267a479b08595f9b811c47 Mon Sep 17 00:00:00 2001 From: puxuan <413323644@qq.com> Date: Thu, 28 Aug 2025 10:38:19 +0800 Subject: [PATCH] fix bug --- lua/app/ui/common/cell/large_hero_cell.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/app/ui/common/cell/large_hero_cell.lua b/lua/app/ui/common/cell/large_hero_cell.lua index 23b2f835..a277de0b 100644 --- a/lua/app/ui/common/cell/large_hero_cell.lua +++ b/lua/app/ui/common/cell/large_hero_cell.lua @@ -36,7 +36,8 @@ function LargeHeroCell:refresh(heroEntity, isGray, useFunc) self.matchType = heroEntity:getMatchType() local heroInfo = heroEntity:getConfig() self:_refresh(heroInfo, isGray) - self.icon:setSprite(GConst.ATLAS_PATH.ICON_HERO_2, DataManager.SkinData:getIcon(heroEntity:getSkinId())) + -- self.icon:setSprite(GConst.ATLAS_PATH.ICON_HERO_2, DataManager.SkinData:getIcon(heroEntity:getSkinId())) + self.icon:setSprite(GConst.ATLAS_PATH.ICON_HERO_2, tostring(heroInfo.icon)) local str if heroEntity:canLvUp() then str = I18N:getGlobalText(I18N.GlobalConst.HERO_DESC_4)