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