fix
This commit is contained in:
parent
65fa001a18
commit
9529f95c01
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue