Added all modes
This commit is contained in:
@@ -74,8 +74,8 @@ export function getDuelsModeStats(mode: Mode, stats: NonNullable<NonNullStats["D
|
||||
|
||||
function duelsModeStats(index: typeof MODES[number]["id"], stats: NonNullable<NonNullStats["Duels"]>) {
|
||||
if (index.startsWith("bridge_")) {
|
||||
const kills = (stats[`${index}_kills`] === undefined ? 0 : stats[`${index}_kills`]) + (stats[`${index}_bridge_kills`] as number)
|
||||
const deaths = (stats[`${index}_deaths`] === undefined ? 0 : stats[`${index}_deaths`]) + (stats[`${index}_bridge_deaths`] as number)
|
||||
const kills = (stats[`${index}_kills`] as number) + (stats[`${index}_bridge_kills`] as number)
|
||||
const deaths = (stats[`${index}_deaths`] as number) + (stats[`${index}_bridge_deaths`] as number)
|
||||
|
||||
return [
|
||||
kills,
|
||||
|
||||
Reference in New Issue
Block a user