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 { else {
$scriptroot = $PSScriptRoot $scriptroot = $PSScriptRoot
} }
$matches = 5
function get-killstats { function get-killstats {
param ( param (
$player_name, $player_name,
@ -42,7 +41,7 @@ foreach ($player in $all_player_matches) {
$i++ $i++
$j = 0 $j = 0
write-output "$($all_player_matches.count) / $i" write-output "$($all_player_matches.count) / $i"
foreach ($match in $player.player_matches | select-object -First $matches) { foreach ($match in $player.player_matches) {
$j++ $j++
write-output "$($player.player_matches.count)/ $j" write-output "$($player.player_matches.count)/ $j"