tdm #275

Merged
OpzekerIT merged 1 commit from dev into main 2025-10-08 14:36:19 +00:00

View file

@ -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
} }