This commit is contained in:
Lanta 2023-09-29 14:42:20 +02:00
parent a6558a473e
commit 01b45aaab8

View file

@ -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"