Merge pull request #65 from OpzekerIT/dev

debug
This commit is contained in:
Lanta 2023-10-03 14:57:52 +02:00 committed by GitHub
commit bc678108a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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]@{