From cc9aa9bbd6c053796b8bfc0978e01f893eeef97e Mon Sep 17 00:00:00 2001 From: stobbelaart Date: Sun, 26 Nov 2023 08:47:10 +0100 Subject: [PATCH] fix --- update/matchparser.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update/matchparser.ps1 b/update/matchparser.ps1 index 7a113e6..358a58f 100644 --- a/update/matchparser.ps1 +++ b/update/matchparser.ps1 @@ -52,10 +52,10 @@ function get-killstats { playername = $player_name humankills = ($kills | where-object { $_.victim.accountId -notlike 'ai.*' }).count kills = $kills.count - deaths = ($attacks | where-object { $_.victim.name -eq $player_name }).count + deaths = ($kills | where-object { $_.victim.name -eq $player_name }).count gameMode = $gameMode matchType = $matchType - dbno = ($attacks | where-object { $_.dBNOMaker.name -eq $player_name }).count + dbno = ($kills | where-object { $_.dBNOMaker.name -eq $player_name }).count HumanDmg = $HumanDmg