From b798ff1977fee688f5957d6da5954cde63673e75 Mon Sep 17 00:00:00 2001 From: Lanta Date: Fri, 10 Nov 2023 09:30:01 +0100 Subject: [PATCH] 10 --- update/get_matches.ps1 | 2 +- update/update_clan_members.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/update/get_matches.ps1 b/update/get_matches.ps1 index 8163ca8..769dbf5 100644 --- a/update/get_matches.ps1 +++ b/update/get_matches.ps1 @@ -31,7 +31,7 @@ if ($fileContent -match "\`$clanmembers\s*=\s*array\(([^)]+)\)") { else { Write-Output "Clan members not found" } -if ($clanMembersArray.count -ge 10 ) { +if ($clanMembersArray.count -gt 10 ) { write-output "Currently not able to process more then 10 players" exit } diff --git a/update/update_clan_members.ps1 b/update/update_clan_members.ps1 index 1270898..4e69495 100644 --- a/update/update_clan_members.ps1 +++ b/update/update_clan_members.ps1 @@ -27,7 +27,7 @@ if ($fileContent -match "\`$clanmembers\s*=\s*array\(([^)]+)\)") { else { Write-Output "Clan members not found" } -if ($clanMembersArray.count -ge 10 ) { +if ($clanMembersArray.count -gt 10 ) { write-output "Currently not able to process more then 10 players" exit }