Compare commits

..

No commits in common. "768dd92e2def6e30f84b5e904a639dcff8f59eab" and "cab256396e50e19a1bc4bdb52df5374b83217f03" have entirely different histories.

1 changed files with 1 additions and 2 deletions

View File

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