doh! I was right.

This commit is contained in:
Fraser Graham 2013-11-08 20:04:09 -08:00
parent 49ff6af1f3
commit caed5576f8

View File

@ -275,8 +275,8 @@ func (g *game) run() {
log.Printf("Robot %v Wins", p.Robot.Id) log.Printf("Robot %v Wins", p.Robot.Id)
log.Printf("game %s: game over", g.id) log.Printf("game %s: game over", g.id)
} }
p.reset(g)
g.obstacles = GenerateObstacles(5, g.width, g.height) g.obstacles = GenerateObstacles(5, g.width, g.height)
p.reset(g)
} }
payload.Reset = true payload.Reset = true
} else { } else {