From 3e91ceadfc6138198fe9c5467ea0ab4aad58b623 Mon Sep 17 00:00:00 2001 From: puxuan <413323644@qq.com> Date: Wed, 3 Sep 2025 19:58:00 +0800 Subject: [PATCH] fix bug --- lua/app/ui/common/cell/hero_cell.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/app/ui/common/cell/hero_cell.lua b/lua/app/ui/common/cell/hero_cell.lua index 1f8c45a8..4c6c30a0 100644 --- a/lua/app/ui/common/cell/hero_cell.lua +++ b/lua/app/ui/common/cell/hero_cell.lua @@ -109,11 +109,11 @@ function HeroCell:refreshRedPoint() return end - if not self.notShowRedPoint and DataManager.FormationData:heroInFormation(GConst.BattleConst.FORMATION_TYPE.STAGE, self.heroEntity:getCfgId()) and self.heroEntity:showRedPointEntrance() then - self.selfNode:addRedPoint(55, -35, 1) - else - self.selfNode:removeRedPoint() - end + -- if not self.notShowRedPoint and DataManager.FormationData:heroInFormation(GConst.BattleConst.FORMATION_TYPE.STAGE, self.heroEntity:getCfgId()) and self.heroEntity:showRedPointEntrance() then + -- self.selfNode:addRedPoint(59, -47, 1) + -- else + -- self.selfNode:removeRedPoint() + -- end end -- 设置是否展示红点