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) { foreach ($item in $player_matches) {
if ($item.PSObject.Properties.Name -contains "new_win_matches") { if ($item.PSObject.Properties.Name -contains "new_win_matches") {
$item.new_win_matches = $null $item.new_win_matches = $null
}
if ($item.PSObject.Properties.Name -contains "new_loss_matches") {
$item.new_loss_matches = $null $item.new_loss_matches = $null
} }
} }
@ -348,3 +350,4 @@ $newJson | out-file "$scriptroot/../data/player_matches.json"
remove-lock remove-lock
Stop-Transcript Stop-Transcript