This commit is contained in:
CloudJ 2023-05-25 14:32:00 +08:00
parent 303b535ded
commit 095979cd65

View File

@ -371,7 +371,7 @@ function ShopData:initLevelUpGift(levelUpGift)
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.data.currentPayAmount = levelUpGift.current_pay_amount -- 已经计算过降档的付费数额
self.data.currentPayAmount = levelUpGift.current_pay_amount or 0 -- 已经计算过降档的付费数额
self:setDirty()
end