Draft is a channel not a player

This commit is contained in:
Hamcha 2019-08-26 11:44:01 +02:00
parent 839c15154b
commit 48260e2695
Signed by: hamcha
GPG key ID: 44AD3571EB09A39E

View file

@ -228,7 +228,7 @@ func (s *session) handlePicks() {
// Pick loop, this `for` handles exactly one round of packs // Pick loop, this `for` handles exactly one round of packs
for { for {
s.messages <- room.Message{ s.messages <- room.Message{
To: "draft", Channel: "draft",
Type: "draft-newpick", Type: "draft-newpick",
Message: fmt.Sprintf("New pick for pack #%d", currentPack), Message: fmt.Sprintf("New pick for pack #%d", currentPack),
} }