matches
This commit is contained in:
parent
3783ff55e8
commit
6dffd64ddb
1 changed files with 1 additions and 2 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue