mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-10-31 20:56:08 +01:00
Merge branch 'bugfix/buchholz-noopponent' into develop
This commit is contained in:
commit
2e80157cbd
@ -215,8 +215,9 @@ abstract class Tiebreaks extends Tournament
|
||||
array_slice($intpairings, 0 - $cuthighest);
|
||||
|
||||
foreach ($intpairings as $intkey => $intpairing) {
|
||||
if(!is_null($intpairing->getOpponent())){
|
||||
$tiebreak += $intpairing->getOpponent()->getPoints();
|
||||
}
|
||||
}}
|
||||
return $tiebreak;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user