Initalizes robots during initialization()
, prevents weird behaviour.
This commit is contained in:
parent
a349d221f1
commit
063cab6521
2
game.go
2
game.go
@ -71,6 +71,8 @@ func initialize() (Game, error) {
|
||||
gameover: 0,
|
||||
}
|
||||
|
||||
game.initRobots()
|
||||
|
||||
return game, err
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user