【恭喜获得】背包已满会弹空的恭喜获得2
parent
ea33322ce8
commit
165c8650a7
|
@ -125,9 +125,9 @@ function RewardItemPopup:OnOpen(...)
|
||||||
else
|
else
|
||||||
showHero = true
|
showHero = true
|
||||||
end
|
end
|
||||||
--如果没有compShowType和Drop
|
--如果没有compShowType和Drop--背包已满
|
||||||
if not args[4] and not drop then
|
if not args[4] and (not drop or (#drop.itemlist < 1 and #drop.equipId < 1 and #drop.Hero < 1 and #drop.soulEquip < 1 and #drop.pokemon < 1)) then
|
||||||
LogYellow("没有奖励没有类型,直接关闭")
|
self:ClosePanel()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
local haveRecord = BattleRecordManager.isHaveRecord()
|
local haveRecord = BattleRecordManager.isHaveRecord()
|
||||||
|
|
Loading…
Reference in New Issue