diff --git a/a.1-Showing-a-ranking.md b/a.1-Showing-a-ranking.md index 88bfeeb..a5a1435 100644 --- a/a.1-Showing-a-ranking.md +++ b/a.1-Showing-a-ranking.md @@ -17,6 +17,6 @@ $filereader->read('mycompetition.sws'); $ranking = $filereader->getTournament()->getRanking(); $count = 1; foreach($ranking as $player) { - echo $count . ' ' . $player->getName() . '(' . $player.->getPoints() . ')'; + echo $count . ' ' . $player->getName() . '(' . $player.->getTiebreaks()[0] . ')'; $count++; } \ No newline at end of file