锦标赛优化
This commit is contained in:
parent
513736de4f
commit
c133d91ca7
@ -181,6 +181,7 @@ func (c *ChampshipMgr) ZeroUpdate() (interface{}, error) {
|
|||||||
// 如果活动ID没有变化,说明没有新的活动,不需要重置数据
|
// 如果活动ID没有变化,说明没有新的活动,不需要重置数据
|
||||||
if activityCfg.AId != 0 && activityCfg.AId == data.Aid {
|
if activityCfg.AId != 0 && activityCfg.AId == data.Aid {
|
||||||
log.Debug("championship zero update not init by aid %d", data.Aid)
|
log.Debug("championship zero update not init by aid %d", data.Aid)
|
||||||
|
data.mu.Unlock()
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
log.Debug("championship zero update by aid %d", activityCfg.AId)
|
log.Debug("championship zero update by aid %d", activityCfg.AId)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user