上传代码修复

This commit is contained in:
liwei1dao 2023-05-17 17:08:35 +08:00
parent 52351439e8
commit 21192e3884

View File

@ -282,7 +282,7 @@ func (this *ParkourComp) match() {
for _, v := range bule {
buleuser = append(buleuser, this.teams[v]...)
}
this.tlock.RLock()
this.tlock.RUnlock()
if len(users)+rednum+bulenum < 6 {
return
@ -343,7 +343,7 @@ func (this *ParkourComp) match() {
}
this.total -= int32(rednum)
this.total -= int32(bulenum)
this.tlock.Lock()
this.tlock.Unlock()
}
// 从远程库查询用户