1
0
Fork 0

allow gob spectators to send back Instruction maps

Dieser Commit ist enthalten in:
Stephen McQuay 2014-04-26 13:25:30 -07:00
Ursprung ab3586e5aa
Commit 39b8a9e5d7
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen

Datei anzeigen

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