fix bug
This commit is contained in:
parent
2e15e45ae0
commit
712905d9a1
@ -13,6 +13,7 @@ function FormationManager:upHeroToStageFormationFinish(result)
|
||||
if result.err_code == GConst.ERROR_STR.SUCCESS then
|
||||
DataManager.FormationData:initStage(result.reqData.heroes)
|
||||
DataManager.HeroData:setDirty()
|
||||
DataManager.HeroData:calcPower()
|
||||
|
||||
local data = {}
|
||||
data.formation, data.formation_lv, data.formation_atk, data.formation_hp = DataManager.FormationData:getStageFormationBIStr()
|
||||
|
||||
@ -21,7 +21,7 @@ end
|
||||
|
||||
function CompanyComp:refreshRedPoint()
|
||||
if DataManager.TalentData:showRedPoint() then
|
||||
self.talentBtn:addRedPoint(60, 80, 1)
|
||||
self.talentBtn:addRedPoint(90, -80, 1)
|
||||
else
|
||||
self.talentBtn:removeRedPoint()
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user