iets minder mag wel

This commit is contained in:
Lanta 2025-04-03 11:45:53 +02:00
parent 4de3775ed7
commit 70e7e32c57

View file

@ -72,13 +72,12 @@ $map_map = @{
} }
try { try {
get-content "$scriptroot/../data/player_matches.json" #debug purposes
$player_matches = get-content "$scriptroot/../data/player_matches.json" | convertfrom-json -Depth 100 $player_matches = get-content "$scriptroot/../data/player_matches.json" | convertfrom-json -Depth 100
} }
catch { catch {
Write-Output 'Unable to read file exitin' Write-Output 'Unable to read file exitin'
} }
write-output $player_matches Write-Output $player_matches
Write-Output $new_win_matches Write-Output $new_win_matches
$new_win_matches = $player_matches[-1].new_win_matches $new_win_matches = $player_matches[-1].new_win_matches