好友搜索优化
This commit is contained in:
parent
4972439ad6
commit
97c2c06c9a
@ -1461,12 +1461,6 @@ func ReqSearchPlayer(player *Player, buf []byte) error {
|
||||
if player.M_DwUin == v.DwUin {
|
||||
continue
|
||||
}
|
||||
if player.PlayMod.getFriendMod().CheckFriend(int(v.DwUin)) {
|
||||
continue
|
||||
}
|
||||
if player.PlayMod.getFriendMod().CheckSendApply(int(v.DwUin)) {
|
||||
continue
|
||||
}
|
||||
SearchPlayer := G_GameLogicPtr.GetResSimplePlayerByUid(int(v.DwUin))
|
||||
list = append(list, SearchPlayer)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user