在线人数过滤超管平台
This commit is contained in:
parent
aaf417c9fe
commit
eb265f69e8
|
@ -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{}
|
||||
|
|
Loading…
Reference in New Issue