Use new teamScoreGame key to display team v team score. Fall back to old tally method if its not available

This commit is contained in:
Anthony Mineo 2020-09-30 16:20:16 -04:00
parent c1fcb61731
commit a14fec7355
3 changed files with 151 additions and 121 deletions

View file

@ -4,6 +4,7 @@
function formatPlayerStats(statObj: any) {
return {
...statObj.stats,
teamScoreGame: Number(statObj.stats.teamScoreGame),
masTG: Number(statObj.stats.masTG),
cgMATG: Number(statObj.stats.cgMATG),
kdrAvg: Number(statObj.stats.kdrAvg),