fix bug
This commit is contained in:
parent
70058e8cc6
commit
b378de406c
@ -54,7 +54,11 @@ function ChapterManager:endFight(id, combatReport)
|
||||
DataManager.ChapterData:goNextChapter()
|
||||
end
|
||||
GFunc.addRewards(result.rewards, BIReport.ITEM_GET_TYPE.FIGHT_END)
|
||||
ModuleManager.BattleManager:showBattleResultUI(result.rewards, combatReport)
|
||||
local newRewards = {}
|
||||
if result.rewards then
|
||||
GFunc.mergeRewards2(result.rewards, newRewards)
|
||||
end
|
||||
ModuleManager.BattleManager:showBattleResultUI(newRewards, combatReport)
|
||||
DataManager.ChapterData:init(result.chapterData, true)
|
||||
DataManager.ChapterData:setDirty()
|
||||
end
|
||||
|
||||
@ -97,6 +97,7 @@ function HeroCell:setGray(isGray)
|
||||
if self.isGray == isGray then
|
||||
return
|
||||
end
|
||||
self.isGray = isGray
|
||||
self.icon:setImageGray(isGray)
|
||||
self.matchImg:setImageGray(isGray)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user