赛季通行证兑换记录
This commit is contained in:
commit
0b2fb94e69
Binary file not shown.
BIN
data/DB_Task.dat
BIN
data/DB_Task.dat
Binary file not shown.
|
|
@ -1630,6 +1630,7 @@ func (this *Tournament) Update() {
|
|||
nowTime := time.Now()
|
||||
if nowTime.Hour() == 0 && nowTime.Minute() == 0 && nowTime.Second() == 0 {
|
||||
this.MatchAwardNum = make(map[string]map[int32]int32)
|
||||
this.Save()
|
||||
logger.Logger.Trace("比赛场每日库存清理!!!当前时间 %v", nowTime)
|
||||
}
|
||||
}
|
||||
|
|
@ -1639,6 +1640,7 @@ func (this *Tournament) Shutdown() {
|
|||
this.Save()
|
||||
}
|
||||
func (this *Tournament) Save() {
|
||||
logger.Logger.Info("保存比赛场每日奖励数据!!!!", this.MatchAwardNum)
|
||||
if this.MatchAwardNum == nil {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue