上传代码修复
This commit is contained in:
parent
52351439e8
commit
21192e3884
@ -282,7 +282,7 @@ func (this *ParkourComp) match() {
|
|||||||
for _, v := range bule {
|
for _, v := range bule {
|
||||||
buleuser = append(buleuser, this.teams[v]...)
|
buleuser = append(buleuser, this.teams[v]...)
|
||||||
}
|
}
|
||||||
this.tlock.RLock()
|
this.tlock.RUnlock()
|
||||||
|
|
||||||
if len(users)+rednum+bulenum < 6 {
|
if len(users)+rednum+bulenum < 6 {
|
||||||
return
|
return
|
||||||
@ -343,7 +343,7 @@ func (this *ParkourComp) match() {
|
|||||||
}
|
}
|
||||||
this.total -= int32(rednum)
|
this.total -= int32(rednum)
|
||||||
this.total -= int32(bulenum)
|
this.total -= int32(bulenum)
|
||||||
this.tlock.Lock()
|
this.tlock.Unlock()
|
||||||
}
|
}
|
||||||
|
|
||||||
// 从远程库查询用户
|
// 从远程库查询用户
|
||||||
|
Loading…
Reference in New Issue
Block a user