Commit 13cb6ff73d223c0f98e199b6a5df0867f35c3cf7
Merge branch 'tr/bugfix' into tr/publish/preview
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/models/Store.lua
@@ -375,7 +375,6 @@ function Store:OnTriggerLimitTimePack(eventType, param) | @@ -375,7 +375,6 @@ function Store:OnTriggerLimitTimePack(eventType, param) | ||
375 | gift_id = rechargeCfg.id, --礼包ID | 375 | gift_id = rechargeCfg.id, --礼包ID |
376 | gift_name = rechargeCfg.title, --礼包名称 | 376 | gift_name = rechargeCfg.title, --礼包名称 |
377 | }) | 377 | }) |
378 | - self:updateProperty({field = "limitTPack", value = limitPack}) | ||
379 | -- 每日抽卡限时礼包 触发重置 | 378 | -- 每日抽卡限时礼包 触发重置 |
380 | if eventType == TriggerEventType.DrawHeroCnt then | 379 | if eventType == TriggerEventType.DrawHeroCnt then |
381 | local payR = self:getProperty("payR") | 380 | local payR = self:getProperty("payR") |
@@ -384,6 +383,7 @@ function Store:OnTriggerLimitTimePack(eventType, param) | @@ -384,6 +383,7 @@ function Store:OnTriggerLimitTimePack(eventType, param) | ||
384 | self:updateProperty({field = "payR", value = payR}) | 383 | self:updateProperty({field = "payR", value = payR}) |
385 | end | 384 | end |
386 | end | 385 | end |
386 | + self:updateProperty({field = "limitTPack", value = limitPack}) | ||
387 | end | 387 | end |
388 | end | 388 | end |
389 | --if next(result) then | 389 | --if next(result) then |