doh! I was right.

This commit is contained in:
Fraser Graham 2013-11-08 20:04:09 -08:00
parent 49ff6af1f3
commit caed5576f8
1 changed files with 1 additions and 1 deletions

View File

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