This commit is contained in:
aozhiwei 2024-04-17 11:49:36 +08:00
parent ff104610c1
commit 748fe0d0ee

View File

@ -204,6 +204,11 @@ func (this *cacheMgr) AsyncRecommendList(recommendType int32, accountId string,
})
}
}
{
for _, friendId := range(GetFriendMgr().GetFriendList(accountId)) {
excludeHums[friendId] = 1
}
}
if recommendType == constant.RECOMMEND_TYPE_BATTLE {
GetPlayerMgr().GetRecommendPlayers(excludeHums, outHums, 5)
doFunc()