装备礼包弹出fix
This commit is contained in:
parent
c7c6d5829c
commit
92a147c14c
@ -844,10 +844,11 @@ function ShopData:initGift(giftType, gift, isInit)
|
||||
end
|
||||
|
||||
local tempId = self.gifts[giftType] and self.gifts[giftType].id or 0
|
||||
local tempTrigerTime = self.gifts[giftType] and self.gifts[giftType].triggerTime or 0
|
||||
self.gifts[giftType] = giftStruct
|
||||
|
||||
if not isInit and self:hasGift(giftType) then
|
||||
if tempId == self.gifts[giftType].id then
|
||||
if tempId == self.gifts[giftType].id and tempTrigerTime == self.gifts[giftType].triggerTime then
|
||||
if EDITOR_MODE then
|
||||
Logger.logHighlight("重复礼包数据,不处理弹窗:" .. tempId)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user