From 06085b69d0308c9d82ca36e1ad2b78a6253205dc Mon Sep 17 00:00:00 2001 From: Trevor Slocum Date: Wed, 7 Aug 2024 14:50:15 -0700 Subject: [PATCH] Include full matches in matches.json --- pkg/server/server_full.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/server/server_full.go b/pkg/server/server_full.go index a99d1b3..4180713 100644 --- a/pkg/server/server_full.go +++ b/pkg/server/server_full.go @@ -113,7 +113,7 @@ func (s *server) cachedMatches() []byte { var games []*bgammon.GameListing for _, g := range s.games { listing := g.listing(nil) - if listing == nil || listing.Password || listing.Players == 2 { + if listing == nil || listing.Password { continue } games = append(games, listing)