diff --git a/lua/app/userdata/shop/shop_data.lua b/lua/app/userdata/shop/shop_data.lua index ade52d52..816fef43 100644 --- a/lua/app/userdata/shop/shop_data.lua +++ b/lua/app/userdata/shop/shop_data.lua @@ -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