Compare commits

..

2 Commits

Author SHA1 Message Date
by 768dd92e2d 年兽活动时区修改 2025-02-06 11:19:50 +08:00
by 7aee41e78a 年兽活动时区修改 2025-02-06 11:17:35 +08:00
1 changed files with 2 additions and 1 deletions

View File

@ -1056,7 +1056,8 @@ func (r *RankMatchMgr) NianRankAward() {
})).StartByExecutor("NianLuck_Award")
} else if info.TypeId == 2 {
yesterday := time.Unix(time.Now().Unix()-86400, 0)
if yesterday.Day() != end.Day() {
endDay := time.Unix(endTimestamp, 0)
if yesterday.Day() != endDay.Day() {
return
}
rankAward := info.RankInfo