Skip to content

Commit

Permalink
Merge pull request #6 from intelygenz/fix/turns-empty
Browse files Browse the repository at this point in the history
Fix/turns empty
  • Loading branch information
igzjaviergil authored Nov 21, 2024
2 parents 5b0045b + cc69b3e commit bf8c4cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/engine/state/inmemory_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func (m *InMemoryState) SetNewRound(rId int, gStatus *GameStatus) {
r := Round{
Id: rId,
Setup: gStatus,
Turns: []*Turn{},
}
m.GameState.Rounds = append(m.GameState.Rounds, r)
}
Expand Down
1 change: 1 addition & 0 deletions start-game.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ EOF
}

function pull_image() {
export DOCKER_DEFAULT_PLATFORM=linux/amd64
# pull the bot image from public registry
if [[ "${DEBUG}" ]]; then
docker pull "${1}" || _error "Cannot pull image ${YELLOW}${1}"
Expand Down

0 comments on commit bf8c4cf

Please sign in to comment.