added economy-graph

This commit is contained in:
cnachtigall1991
2021-10-19 12:40:17 +02:00
parent bb3da7d3c4
commit f9391bfa10
8 changed files with 124 additions and 61 deletions

View File

@@ -31,6 +31,10 @@ export const checkStatEmpty = (stat) => {
return 0
}
export const FixMapName = (map) => {
return map.split('_')[1].replace(/^\w/, c => c.toUpperCase());
}
export const getPlayerArr = (stats, team, color) => {
let arr = []
for (let i = (team - 1) * 5; i < team * 5; i++) {