【恭喜获得】背包已满会弹空的恭喜获得2

dev_chengFeng
ZhangBiao 2021-05-10 16:20:41 +08:00
parent ea33322ce8
commit 165c8650a7
1 changed files with 3 additions and 3 deletions

View File

@ -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()