From caed5576f867e26a61f06ad04b4386c8e74c85b8 Mon Sep 17 00:00:00 2001 From: Fraser Graham Date: Fri, 8 Nov 2013 20:04:09 -0800 Subject: [PATCH] doh! I was right. --- game.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.go b/game.go index 04af1ff..d0a1880 100644 --- a/game.go +++ b/game.go @@ -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 {