playroom拜访增加限制
This commit is contained in:
parent
993bf4c40f
commit
f3d7b5c5a5
@ -723,10 +723,10 @@ func GetVisitorPlayer(p *Player) int {
|
|||||||
if v.Uid == int(p.M_DwUin) {
|
if v.Uid == int(p.M_DwUin) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
//PlayerSimpleData := G_GameLogicPtr.GetSimplePlayerByUid(v.Uid)
|
PlayerSimpleData := G_GameLogicPtr.GetSimplePlayerByUid(v.Uid)
|
||||||
// if PlayerSimpleData.Level < 6 {
|
if PlayerSimpleData.Level < 6 {
|
||||||
// continue
|
continue
|
||||||
// }
|
}
|
||||||
PlayerList4 = append(PlayerList4, v.Uid)
|
PlayerList4 = append(PlayerList4, v.Uid)
|
||||||
}
|
}
|
||||||
L := GoUtil.RandSliceNum(PlayerList4, 1)
|
L := GoUtil.RandSliceNum(PlayerList4, 1)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user