好友优化
This commit is contained in:
parent
15508345ca
commit
f0c6b07c66
@ -704,6 +704,9 @@ func GetRecommendPlayer(p *Player, Num int) []int {
|
|||||||
if GoUtil.Now()-PlayerSimpleData.Loginout > 86400 {
|
if GoUtil.Now()-PlayerSimpleData.Loginout > 86400 {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if PlayerSimpleData.Level < 4 {
|
||||||
|
continue
|
||||||
|
}
|
||||||
PlayerList1 = append(PlayerList1, v.Uid)
|
PlayerList1 = append(PlayerList1, v.Uid)
|
||||||
}
|
}
|
||||||
if len(PlayerList1) == 0 {
|
if len(PlayerList1) == 0 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user