remove unused channel
This commit is contained in:
parent
fd2fb3fab6
commit
34143ed3dc
@ -8,17 +8,15 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Lobby struct {
|
type Lobby struct {
|
||||||
Uuid uuid.UUID
|
Uuid uuid.UUID
|
||||||
Game *chess.Game
|
Game *chess.Game
|
||||||
PlayerJoined chan bool
|
Passphrase utils.Passphrase
|
||||||
Passphrase utils.Passphrase
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewEmptyLobbyWithUUID(uuid uuid.UUID) *Lobby {
|
func NewEmptyLobbyWithUUID(uuid uuid.UUID) *Lobby {
|
||||||
return &Lobby{
|
return &Lobby{
|
||||||
Uuid: uuid,
|
Uuid: uuid,
|
||||||
Game: chess.NewGame(),
|
Game: chess.NewGame(),
|
||||||
PlayerJoined: make(chan bool),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user