solved spectator disconnect issue

This commit is contained in:
sm
2014-01-29 22:12:26 -08:00
parent eac39ad9d1
commit bc58ee9165
4 changed files with 45 additions and 7 deletions
+1
View File
@@ -14,6 +14,7 @@ type player struct {
}
func (p *player) sender() {
log.Printf("%s: sender launched", p.Id)
for things := range p.send {
err := websocket.JSON.Send(p.ws, things)
if err != nil {