playroom优化

This commit is contained in:
hahwu 2025-07-08 18:04:51 +08:00
parent 2f93609e47
commit cfef22a897

View File

@ -720,16 +720,11 @@ func GetVisitorPlayer(p *Player) int {
PlayerList3 := G_GameLogicPtr.RankMgr.getAllRank(RANK_TYPE_USER)
PlayerList4 := make([]int, 0)
for _, v := range PlayerList3 {
if v.Score < 15 {
continue
}
if v.Uid == int(p.M_DwUin) {
continue
}
PlayerSimpleData := G_GameLogicPtr.GetSimplePlayerByUid(v.Uid)
if GoUtil.Now()-PlayerSimpleData.Loginout > 86400 {
continue
}
if PlayerSimpleData.Level < 6 {
continue
}