fix bug
This commit is contained in:
parent
c50029683c
commit
3e91ceadfc
@ -109,11 +109,11 @@ function HeroCell:refreshRedPoint()
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if not self.notShowRedPoint and DataManager.FormationData:heroInFormation(GConst.BattleConst.FORMATION_TYPE.STAGE, self.heroEntity:getCfgId()) and self.heroEntity:showRedPointEntrance() then
|
-- 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)
|
-- self.selfNode:addRedPoint(59, -47, 1)
|
||||||
else
|
-- else
|
||||||
self.selfNode:removeRedPoint()
|
-- self.selfNode:removeRedPoint()
|
||||||
end
|
-- end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 设置是否展示红点
|
-- 设置是否展示红点
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user