周卡月卡调整

dev_chengFeng
yuanshuai 2022-06-09 18:04:44 +08:00
parent af1452a76a
commit 22bafa91fa
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ function MonthCardPage:SetMonthCardTimes(i)
---设置剩余时间
if monthCardData.state > 0 then
self.cardPres[i].time:SetActive(true)
local residueTimeNum = monthCardData.endingTime + (curMonthCardConfig.ContiueDays * 24 * 3600) - GetTimeStamp()
local residueTimeNum = monthCardData.endingTime - GetTimeStamp()
local dayNum = math.floor(residueTimeNum / (24 * 3600))
self.cardPres[i].time:GetComponent("Text").text = Language[10480] .. dayNum ..Language[10017]
else