Merge pull request #225 from OpzekerIT/dev

fix
This commit is contained in:
Lanta 2025-04-15 19:15:08 +02:00 committed by GitHub
commit 0aaea5306f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -336,6 +336,8 @@ k_t = Team eliminaties
foreach ($item in $player_matches) {
if ($item.PSObject.Properties.Name -contains "new_win_matches") {
$item.new_win_matches = $null
}
if ($item.PSObject.Properties.Name -contains "new_loss_matches") {
$item.new_loss_matches = $null
}
}
@ -347,4 +349,5 @@ $newJson = $player_matches | ConvertTo-Json -Depth 100
$newJson | out-file "$scriptroot/../data/player_matches.json"
remove-lock
Stop-Transcript
Stop-Transcript