Skip to content

Commit ee537e9

Browse files
committed
Add player civ_list to output
1 parent 3676499 commit ee537e9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

parser/formatter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ func getPlayers(
251251
Winner: !losingTeams[teamId],
252252
EAPM: eAPM,
253253
MinorGods: minorGods,
254+
CivList: keys[fmt.Sprintf("%scivlist", playerPrefix)].StringVal,
254255
})
255256
}
256257
}

parser/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ type ReplayPlayer struct {
172172
MinorGods [3]string
173173
Titan bool
174174
Wonder bool
175+
CivList string `json:"civ_list"`
175176
}
176177

177178
type ReplayGameCommand struct {

0 commit comments

Comments
 (0)