allow gob spectators to send back Instruction maps
This commit is contained in:
parent
ab3586e5aa
commit
39b8a9e5d7
@ -199,7 +199,7 @@ func NewSpectator(id string, ws *websocket.Conn, bw *bandwidth.Bandwidth, encodi
|
||||
// from spectators.
|
||||
func (s *Spectator) Recv() {
|
||||
for {
|
||||
var msgs interface{}
|
||||
var msgs map[string]Instruction
|
||||
err := s.dec.Decode(&msgs)
|
||||
if err != nil {
|
||||
log.Printf("%s: %s", s.Id, err)
|
||||
|
Loading…
Reference in New Issue
Block a user