Dev #276

Merged
OpzekerIT merged 2 commits from dev into main 2025-10-17 11:39:18 +00:00
Showing only changes of commit ca8ae31e9e - Show all commits

View file

@ -48,8 +48,11 @@ foreach ($player in $player_data) {
$stats.included = $sortedStats
$stats | ConvertTo-Json -Depth 100 | Out-File "$scriptroot/../data/matches/$match.json"
}
if($stats.data.attributes.matchtype -eq 'event' -or $stats.data.attributes.gameMode -eq 'tdm'){
write-output 'Skipping because of event'
if (
($stats.data.attributes.matchtype -eq 'event' -and $stats.data.attributes.gameMode -ne 'ibr') -or
($stats.data.attributes.gameMode -eq 'tdm')
) {
Write-Output 'Skipping because of event or tdm'
continue
}
$playermatches += [PSCustomObject]@{