【恭喜获得】背包已满会弹空的恭喜获得
parent
b4834ba2cc
commit
181306059d
|
@ -125,6 +125,11 @@ function RewardItemPopup:OnOpen(...)
|
|||
else
|
||||
showHero = true
|
||||
end
|
||||
--如果没有compShowType和Drop
|
||||
if not args[4] and not drop then
|
||||
LogYellow("没有奖励没有类型,直接关闭")
|
||||
return
|
||||
end
|
||||
local haveRecord = BattleRecordManager.isHaveRecord()
|
||||
this.btnResult:SetActive(haveRecord and args[5])
|
||||
this.btnBattleBack:SetActive(haveRecord and args[5] and BattleManager.GetLastBattleType() ~= BATTLE_TYPE.MAP_FIGHT and not GuideManager.IsInMainGuide() and not MapManager.Mapping and BattleManager.GetLastBattleType() ~= BATTLE_TYPE.TASUILINGXIAO)
|
||||
|
|
Loading…
Reference in New Issue