min 2 players

This commit is contained in:
Lanta 2024-07-18 12:56:31 +02:00
parent 16265f138d
commit 7019466cc1
2 changed files with 6 additions and 6 deletions

View file

@ -152,7 +152,7 @@ $matchfiles = Get-ChildItem "$scriptroot/../data/killstats/" -File -Filter *.jso
$killstats_only_full_clan_matches = @()
$guids = $matchfiles.Name | ForEach-Object { $_.Split("_")[0] }
$groupedGuids_full_clan_matches = $guids | Group-Object | Where-Object { $_.Count -eq 4 }
$groupedGuids_full_clan_matches = $guids | Group-Object | Where-Object { $_.Count -gt 1 }
$last_month = (get-date).AddMonths($monthsback)
foreach ($file in $matchfiles) {
@ -257,7 +257,7 @@ $formattedString = "$currentDateTime - Time Zone: $currentTimezone"
$playerstats = [PSCustomObject]@{
all = $playerstats_all
clan_4_casual = $playerstats_airoyale_clan
clan_casual = $playerstats_airoyale_clan
Intense = $playerstats_event_ibr
Casual = $playerstats_airoyale
official = $playerstats_official