Fix team population in summary graphs.
Introduced in57d0e7bd96
, missed in9145e03bf5
. Differential revision: D3519 This was SVN commit r24832.
This commit is contained in:
parent
5d96346ac5
commit
6dba34e915
@ -360,7 +360,7 @@ function calculateMiscellaneousTeam(team, index, type, counters, headings)
|
||||
if (type == "killDeath")
|
||||
return calculateRatio(g_TeamHelperData[team].enemyUnitsKilled[index], g_TeamHelperData[team].unitsLost[index]);
|
||||
|
||||
if (type == "bribes")
|
||||
if (type == "bribes" || type == "population")
|
||||
return summaryArraySum(getPlayerValuesPerTeam(team, index, type, counters, headings));
|
||||
|
||||
return { "percent": g_TeamHelperData[team][type][index] };
|
||||
|
Loading…
Reference in New Issue
Block a user