【十五日登陆】不改了

dev_chengFeng
ZhangBiao 2021-04-12 20:02:56 +08:00
parent 3d35e67c74
commit 4de980bf34
1 changed files with 5 additions and 2 deletions

View File

@ -156,10 +156,10 @@ function this.InitActivityServerData(msg, isUpdate)
elseif (v.activityId == ActivityTypeDef.ChapterAward) then
this.chapterOpen = true
this.chapterGetRewardState[m.missionId] = m.state
elseif (v.activityId == ActivityTypeDef.FifteenDayGift) then
end
if GlobalActivity[v.activityId].Type == ActivityTypeDef.FifteenDayGift then
Game.GlobalEvent:DispatchEvent(GameEvent.EightDay.FifteenDayGift)
end
end
if (v.activityId == ActivityTypeDef.EightDayGift) then
this.sevenDayTime = v.endTime - GetTimeStamp()
@ -482,6 +482,9 @@ function this.FiveAMRefreshActivityProgress(msg)
this.chapterOpen = true
this.chapterGetRewardState[m.missionId] = m.state
end
if GlobalActivity[v.activityId].Type == ActivityTypeDef.FifteenDayGift then
Game.GlobalEvent:DispatchEvent(GameEvent.EightDay.FifteenDayGift)
end
end
end