diff --git a/worldsrv/playeronline.go b/worldsrv/playeronline.go index 14ef76d..6c0d77a 100644 --- a/worldsrv/playeronline.go +++ b/worldsrv/playeronline.go @@ -5,6 +5,7 @@ import ( "mongo.games.com/goserver/core/module" + "mongo.games.com/game/common" "mongo.games.com/game/model" "mongo.games.com/game/mq" ) @@ -34,7 +35,7 @@ func (p *PlayerOnlineEvent) Update() { p.Check = false onlineCh := map[string]map[string]int{} for _, player := range PlayerMgrSington.sidMap { - if player != nil && !player.IsRob && player.IsOnLine() { + if player != nil && !player.IsRob && player.IsOnLine() && player.Platform != common.Platform_Rob && player.Channel != common.Channel_Rob { info, ok := onlineCh[player.Platform] if !ok { onlineCh[player.Platform] = map[string]int{}