more efficient
This commit is contained in:
parent
290c10cd77
commit
8ead90d93b
2 changed files with 2 additions and 3 deletions
|
|
@ -14,7 +14,6 @@ function get-killstats {
|
|||
foreach ($action in $telemetry) {
|
||||
|
||||
if ($action.PSObject.Properties.name.contains('killer')) {
|
||||
#write-output "Analyzing dBNOid $($action.dBNOId)"
|
||||
$attacks += $action
|
||||
}
|
||||
|
||||
|
|
@ -50,7 +49,7 @@ foreach ($player in $all_player_matches) {
|
|||
}
|
||||
|
||||
write-output "Analyzing for player $player_name telemetry: $($match.telemetry_url)"
|
||||
$killstats += get-killstats -player_name $player_name -telemetry $telemetry
|
||||
$killstats += get-killstats -player_name $player_name -telemetry ($telemetry | where-object {$_._T -eq 'LOGPLAYERKILLV2'})
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue