remove unused channel

This commit is contained in:
Marco 2024-05-21 23:44:37 +02:00
parent fd2fb3fab6
commit 34143ed3dc

View File

@ -10,7 +10,6 @@ import (
type Lobby struct {
Uuid uuid.UUID
Game *chess.Game
PlayerJoined chan bool
Passphrase utils.Passphrase
}
@ -18,7 +17,6 @@ func NewEmptyLobbyWithUUID(uuid uuid.UUID) *Lobby {
return &Lobby{
Uuid: uuid,
Game: chess.NewGame(),
PlayerJoined: make(chan bool),
}
}