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",