在线奖励活动修改

onepiece_demo_new
wangzhenxing 2024-05-29 16:28:23 +08:00
parent 1ac686ca35
commit 6b130712bf
1 changed files with 3 additions and 1 deletions

View File

@ -166,7 +166,9 @@ function this.InitActivityServerData(msg, isUpdate)
this.haveOnlineTime = m.progress
this.onlineTime= m.progress
------LogGreen("------------------------------------后端刷新在线时长2 "..m.progress.." "..TimeToHMS(m.progress))
this.cuOnLineTimestamp = GetTimeStamp() - m.progress
if this.cuOnLineTimestamp==0 then
this.cuOnLineTimestamp = GetTimeStamp() - m.progress
end
--this.StartOnlineUpdate()
elseif (v.activityId == ActivityTypeDef.EightDayGift) then
this.sevenDayOpen = true