diff --git a/src/actions/transformMatch.js b/src/actions/transformMatch.js index ae51224c4d..eb49830919 100644 --- a/src/actions/transformMatch.js +++ b/src/actions/transformMatch.js @@ -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), };