mirror of
https://github.com/amineo/t2-stat-parser.git
synced 2026-02-22 23:53:34 +00:00
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:
parent
c1fcb61731
commit
a14fec7355
3 changed files with 151 additions and 121 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue