容错
This commit is contained in:
parent
303b535ded
commit
095979cd65
@ -371,7 +371,7 @@ function ShopData:initLevelUpGift(levelUpGift)
|
|||||||
self.levelUpGifts = levelUpGift.gifts or {} -- [{trigger_level,current_level_up_gift,trigger_at}]
|
self.levelUpGifts = levelUpGift.gifts or {} -- [{trigger_level,current_level_up_gift,trigger_at}]
|
||||||
-- 金币礼包部分会一直保留
|
-- 金币礼包部分会一直保留
|
||||||
self:initCoinGift(levelUpGift.gold_gift_id, levelUpGift.gold_gift_trigger_at)
|
self:initCoinGift(levelUpGift.gold_gift_id, levelUpGift.gold_gift_trigger_at)
|
||||||
self.data.currentPayAmount = levelUpGift.current_pay_amount -- 已经计算过降档的付费数额
|
self.data.currentPayAmount = levelUpGift.current_pay_amount or 0 -- 已经计算过降档的付费数额
|
||||||
|
|
||||||
self:setDirty()
|
self:setDirty()
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user