fix #225

Merged
OpzekerIT merged 1 commit from dev into main 2025-04-15 17:15:08 +00:00

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
} }
} }
@ -347,4 +349,5 @@ $newJson = $player_matches | ConvertTo-Json -Depth 100
$newJson | out-file "$scriptroot/../data/player_matches.json" $newJson | out-file "$scriptroot/../data/player_matches.json"
remove-lock remove-lock
Stop-Transcript Stop-Transcript