This commit is contained in:
Thijs Stobbelaar 2023-11-28 11:18:45 +01:00
parent 04d6525284
commit fcdaffd1ef
2 changed files with 3 additions and 1 deletions

View file

@ -196,7 +196,7 @@ while($playerinfo.data.Count -gt $i) {
$i++
}
$seasonstats | convertto-json -Depth 100| Out-File "$scriptroot/../data/player_season_data.json"
$seasonstats | Sort-Object -Property {$_.stat.data.attributes.rankedGameModeStats.'squad-fpp'.currentRankPoint} -Descending | convertto-json -Depth 100| Out-File "$scriptroot/../data/player_season_data.json"
remove-lock
Stop-Transcript