diff --git a/lobbies/lobby.go b/lobbies/lobby.go index 80454f6..fa2dfdb 100644 --- a/lobbies/lobby.go +++ b/lobbies/lobby.go @@ -8,17 +8,15 @@ import ( ) type Lobby struct { - Uuid uuid.UUID - Game *chess.Game - PlayerJoined chan bool - Passphrase utils.Passphrase + Uuid uuid.UUID + Game *chess.Game + Passphrase utils.Passphrase } func NewEmptyLobbyWithUUID(uuid uuid.UUID) *Lobby { return &Lobby{ - Uuid: uuid, - Game: chess.NewGame(), - PlayerJoined: make(chan bool), + Uuid: uuid, + Game: chess.NewGame(), } }