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 }