quieted things down slightly (logging)

This commit is contained in:
Stephen McQuay 2013-11-13 23:47:42 -08:00
parent 245c483f9e
commit 2e774285ba
2 changed files with 1 additions and 3 deletions

View File

@ -250,7 +250,7 @@ func addPlayer(ws *websocket.Conn) {
Heading: v.Vector2d{1, 0},
Scanners: make([]Scanner, 0)}
r.Health = r.Stats.Hp
log.Printf("Adding Robot: %v", r)
log.Printf("Adding Robot: %+v", r)
r.reset(game)
p.Robots = append(p.Robots, &r)
}

View File

@ -381,8 +381,6 @@ func (r *Robot) reset(g *game) {
r.Position = start_pos
r.Health = r.Stats.Hp
log.Printf("Reset %v", r)
// Check Obstacles
retry := false
for _, obj := range g.obstacles {