From 01b45aaab8a16226a0c8a3ecc8ce6acfb8a25373 Mon Sep 17 00:00:00 2001 From: Lanta Date: Fri, 29 Sep 2023 14:42:20 +0200 Subject: [PATCH] matches --- update/matchparser.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/update/matchparser.ps1 b/update/matchparser.ps1 index ca12aff..ad3da4e 100644 --- a/update/matchparser.ps1 +++ b/update/matchparser.ps1 @@ -5,7 +5,6 @@ if ($PSScriptRoot.length -eq 0) { else { $scriptroot = $PSScriptRoot } -$matches = 5 function get-killstats { param ( $player_name, @@ -42,7 +41,7 @@ foreach ($player in $all_player_matches) { $i++ $j = 0 write-output "$($all_player_matches.count) / $i" - foreach ($match in $player.player_matches | select-object -First $matches) { + foreach ($match in $player.player_matches) { $j++ write-output "$($player.player_matches.count)/ $j"