|
|
@@ -302,9 +302,7 @@ func (this *CrossManager) getSeasonTime(seasonId int32) (time.Time, time.Time) {
|
|
|
}
|
|
|
|
|
|
func (this *CrossManager) Update(ms uint64) {
|
|
|
- if !this.initStartUp {
|
|
|
- this.init(ms)
|
|
|
- }
|
|
|
+ this.init(ms)
|
|
|
|
|
|
if this.initStartUp && this.updateTimer.IsStart() && this.updateTimer.IsExpired(ms) {
|
|
|
if len(ServerStateCacheList) <= 0 {
|
|
|
@@ -335,6 +333,7 @@ func (this *CrossManager) GetSeasonReward(role uint64, selfRank, rewardSeasonId
|
|
|
//发送邮件
|
|
|
AddMailOnlineAndOffline([]uint64{role}, model.GlobalMailIdArenaTopReward, int32(serverproto.MailType_MailType_System),
|
|
|
itemList, []int32{int32(util.GetTimeSeconds())}, "飞艇排行榜奖励", "第"+strconv.FormatInt(int64(selfRank), 10)+"名")
|
|
|
+ util.InfoF("send rank award uid:%v award:%v", role, itemList)
|
|
|
break
|
|
|
}
|
|
|
}
|