doh! I was right.
This commit is contained in:
parent
49ff6af1f3
commit
caed5576f8
2
game.go
2
game.go
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user