1
This commit is contained in:
parent
d8bcfe8104
commit
0725405c82
@ -373,8 +373,8 @@ func (this *playerMgr) GetRecommendPlayers(excludeHums map[string]int32, outHums
|
||||
return true
|
||||
})
|
||||
}
|
||||
randLen := 0
|
||||
if randLen < len(this.recommendHumans) {
|
||||
randLen := 10
|
||||
if randLen > len(this.recommendHumans) {
|
||||
randLen = len(this.recommendHumans)
|
||||
}
|
||||
rand.Shuffle(randLen, func (i int, j int) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user