Merge branch 'xma/dev' into 0功能/本周版本优化内容

dev_chengFeng
ZhangBiao 2021-03-15 10:39:41 +08:00
commit 749c219177
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ function DayRewardItem:SetValue(context,_sortingOrder)
AccumRecharge = missInfo.progress
end
end
if AccumRecharge >= self.context.Values[1][1] then
if (self.context.Values[1][1] == 1 and AccumRecharge > 0)
or AccumRecharge >= self.context.Values[1][1] then
local day = GetTimePass(FirstRechargeManager.GetRechargeTime())--FirstRechargeManager.GetRechargeTime()
if self.context.Values[1][2] <= day then
local state = ActivityGiftManager.GetActivityInfo(context.ActivityId, context.Id).state