Skip to content

Commit

Permalink
fix(match2): Use correct field for displayname in AoE Match/Legacy (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mbergen authored Oct 7, 2024
1 parent 5c594a5 commit 2840904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/match2/wikis/ageofempires/match_legacy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ function MatchLegacy.storeGames(match, match2)
(tonumber(game.winner) == 2 and game.extradata.opponent1civ) or
(tonumber(game.winner) == 1 and game.extradata.opponent2civ) or
''
game.extradata.opponent1name = player1.player
game.extradata.opponent2name = player2.player
game.extradata.opponent1name = player1.displayName
game.extradata.opponent2name = player2.displayName
end
-- Other stuff
game.opponent1 = match.opponent1
Expand Down

0 comments on commit 2840904

Please sign in to comment.