diff options
Diffstat (limited to 'pkg/api/api0/serverlist.go')
-rw-r--r-- | pkg/api/api0/serverlist.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/api/api0/serverlist.go b/pkg/api/api0/serverlist.go index c9a22b0..04ee79b 100644 --- a/pkg/api/api0/serverlist.go +++ b/pkg/api/api0/serverlist.go @@ -212,6 +212,9 @@ func (s *ServerList) csGetJSON() []byte { if s.servers1 != nil { for _, srv := range s.servers1 { if s.serverState(srv, t) == serverListStateAlive { + if srv.Map == "mp_lobby" && srv.Playlist != "private_match" { + continue // don't include non-private_match servers on lobby + } ss = append(ss, srv) } } |