commit
d286bc6079
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ foreach ($player in $player_data) {
|
||||||
$stats.included = $sortedStats
|
$stats.included = $sortedStats
|
||||||
$stats | ConvertTo-Json -Depth 100 | Out-File "$scriptroot/../data/matches/$match.json"
|
$stats | ConvertTo-Json -Depth 100 | Out-File "$scriptroot/../data/matches/$match.json"
|
||||||
}
|
}
|
||||||
if($stats.data.attributes.matchtype -eq 'event'){
|
if($stats.data.attributes.matchtype -eq 'event' -or $stats.data.attributes.gameMode -eq 'tdm'){
|
||||||
write-output 'Skipping because of event'
|
write-output 'Skipping because of event'
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue