From d2974bdd459770926d9b33dd1265e7249d5a4783 Mon Sep 17 00:00:00 2001 From: Beric Bearnson <37596980+bericyb@users.noreply.github.com> Date: Thu, 24 Oct 2024 21:31:05 -0600 Subject: [PATCH] logs --- internal/lobby/lobby.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/lobby/lobby.go b/internal/lobby/lobby.go index 832f55c..afc1ccf 100644 --- a/internal/lobby/lobby.go +++ b/internal/lobby/lobby.go @@ -322,7 +322,9 @@ func (l *Lobby) InitialConnectionHandler(conn net.Conn) (Client, []byte, error) } return Client{}, msgOut, err } + fmt.Println("Loading lobby") _, ok := l.lobbyMembers.Load(n.Name) + fmt.Println("past that") if ok { msg, err := Marshal(ErrorData{ Message: "Sorry that name is already taken, please try a different name",