@ -206,8 +206,8 @@ func (s *Server) joinAndServe(p person) {
}
}()
id, chall, deal := s.l.Queue(ctx, p.id)
stop()
<-ch
if id == (lobby.GameID{}) {
// Context canceled.
p.conn.Close(websocket.StatusTryAgainLater, "sorry, queue is empty...")