infinite melee!!
This commit is contained in:
parent
56c965add7
commit
83da3961cd
3
game.go
3
game.go
@ -147,8 +147,7 @@ func (g *game) run() {
|
||||
for p := range g.players {
|
||||
if p.Robot.Health > 0 {
|
||||
log.Printf("Robot %v Wins", p.Robot.Id)
|
||||
log.Printf("game over: %+v", g)
|
||||
return
|
||||
log.Printf("game %s: game over", g.id)
|
||||
}
|
||||
p.reset()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user