diff --git a/src/Tournament.php b/src/Tournament.php index d47793d..cf06cb7 100644 --- a/src/Tournament.php +++ b/src/Tournament.php @@ -542,8 +542,10 @@ class Tournament { $totalwins = 0; foreach ($player->getPairings() as $pairing) { - if (array_search($pairing->getResult(), Constants::Won) !== false) { - $totalwins++; + if (array_search($pairing->getResult(), Constants::NotPlayed) === false) { + if (array_search($pairing->getResult(), Constants::Won) !== false) { + $totalwins++; + } } } return $totalwins;