commit
9a210be579
1 changed files with 3 additions and 3 deletions
|
|
@ -99,10 +99,10 @@ foreach ($winid in $new_win_matches) {
|
||||||
continue
|
continue
|
||||||
} #skip tdm matches
|
} #skip tdm matches
|
||||||
if ($winmatches[0].matchType -eq 'custom') {
|
if ($winmatches[0].matchType -eq 'custom') {
|
||||||
$players_to_report = $match_stats.included.attributes.stats
|
$players_to_report = $match_stats.included.attributes.stats | where-object { $_.playerId -notlike "ai.*" }
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$players_to_report = ($match_stats.included.attributes.stats | where-object { $_.winplace -eq 1 })
|
$players_to_report = $match_stats.included.attributes.stats | where-object { $_.winplace -eq 1 }
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($new_win_matches.count -le 10) {
|
if ($new_win_matches.count -le 10) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue