Merge pull request #275 from OpzekerIT/dev

tdm
This commit is contained in:
Lanta 2025-10-08 16:36:19 +02:00 committed by GitHub
commit d286bc6079
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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