Add grenade launcher stats to accuracy leaderboard

This commit is contained in:
Brian Beck 2021-09-25 14:36:43 -07:00
parent c42b05e7de
commit 01c2b8b37d
2 changed files with 6 additions and 0 deletions

View file

@ -12,6 +12,9 @@ const hitStats = [
'laserMATG',
'cgHitsTG',
'shockHitsTG',
'grenadeHitsTG',
'grenadeDmgHitsTG',
'grenadeMATG',
] as const;
type Stat = typeof hitStats[number];

View file

@ -66,6 +66,9 @@ export class PlayersService {
laserMATG: 'laserShotsFiredTG',
cgHitsTG: 'cgShotsFiredTG',
shockHitsTG: 'shockShotsFiredTG',
grenadeDmgHitsTG: 'grenadeShotsFiredTG',
grenadeHitsTG: 'grenadeShotsFiredTG',
grenadeMATG: 'grenadeShotsFiredTG',
}[hitsStat];
// Possibly make this a query param at some point?