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) {
|
||||
continue
|
||||
}
|
||||
//PlayerSimpleData := G_GameLogicPtr.GetSimplePlayerByUid(v.Uid)
|
||||
// if PlayerSimpleData.Level < 6 {
|
||||
// continue
|
||||
// }
|
||||
PlayerSimpleData := G_GameLogicPtr.GetSimplePlayerByUid(v.Uid)
|
||||
if PlayerSimpleData.Level < 6 {
|
||||
continue
|
||||
}
|
||||
PlayerList4 = append(PlayerList4, v.Uid)
|
||||
}
|
||||
L := GoUtil.RandSliceNum(PlayerList4, 1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user