Skip to content

Commit

Permalink
fix crash on event matches
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Jan 4, 2024
1 parent 77d1bbc commit 1edf967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/transformMatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function transformMatch(m) {
kill_streaks_max: getMaxKeyOfObject(player.kill_streaks),
lh_ten: (player.lh_t || [])[10],
dn_ten: (player.dn_t || [])[10],
line_win: lineResults[player.isRadiant][player.lane] > lineResults[!player.isRadiant][player.lane],
line_win: lineResults[player.isRadiant]?.[player.lane] > lineResults[!player.isRadiant]?.[player.lane],
analysis: analyzeMatch(m, player),
};

Expand Down

0 comments on commit 1edf967

Please sign in to comment.