debug #65

Merged
OpzekerIT merged 1 commit from dev into main 2023-10-03 12:57:52 +00:00
Showing only changes of commit 2b0807ed38 - Show all commits

View file

@ -19,7 +19,7 @@ function get-change {
if ($winratio -eq 0) {
$change = 0
} else {
# Decide how you want to handle this scenario
o
$change = 0
}
} else {
@ -121,6 +121,9 @@ foreach ($player in $all_player_matches.playername) {
$winratio = ($player_wins / $player_matches) * 100
$winratio_old = (($oldstats.all | Where-Object { $_.playername -eq $player }).winratio)
write-output "Calculating for player $player"
write-output "new winratio $winratio"
write-output "Old winratio $winratio_old"
$playerstats_all += [PSCustomObject]@{