1
0
Fork 0

allow gob spectators to send back Instruction maps

Esse commit está contido em:
Stephen McQuay 2014-04-26 13:25:30 -07:00
commit 39b8a9e5d7
1 arquivos alterados com 1 adições e 1 exclusões

Ver arquivo

@ -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)