Skip to content

Commit

Permalink
add id
Browse files Browse the repository at this point in the history
  • Loading branch information
happyleavesaoc committed Aug 31, 2022
1 parent 9e34714 commit 4a8dd94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mgz/summary/players.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def get_players_data(header, postgame, teams, resigned, cheaters, profile_ids, r
imperial_time = ach(achievements, ['technology', 'imperial_time_int'])
name = player.attributes.player_name.decode(encoding)
out.append({
'id': i,
'name': name,
'civilization': get_civilization(header, i),
'human': header.scenario.game_settings.player_info[i + 1].type == 'human',
Expand Down

0 comments on commit 4a8dd94

Please sign in to comment.