diff --git a/src/process/process.ts b/src/process/process.ts index 33334ae..829be7d 100644 --- a/src/process/process.ts +++ b/src/process/process.ts @@ -83,7 +83,6 @@ async function processGlobalStats() { .select([ count('id').as('deaths'), 'victim_id', - sql`last(victim_name)`.as('victim_name'), 'victim_current_weapon', 'map', 'game_mode', @@ -109,7 +108,7 @@ async function processGlobalStats() { .onRef('deaths.game_mode', '=', 'kills.game_mode') .onRef('deaths.map', '=', 'kills.map') ) - .fullJoin('deathswithweapon', (join) => + .leftJoin('deathswithweapon', (join) => join .onRef('deathswithweapon.victim_id', '=', 'kills.attacker_id') .onRef('deathswithweapon.victim_current_weapon', '=', 'kills.cause_of_death')