mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-24 23:37:41 +01:00
fixed buchholzmed
This commit is contained in:
parent
7ff79c2224
commit
eb46b7908c
@ -212,9 +212,10 @@ abstract class Tiebreaks extends Tournament
|
|||||||
});
|
});
|
||||||
|
|
||||||
$intpairings = array_slice($intpairings, $cutlowest);
|
$intpairings = array_slice($intpairings, $cutlowest);
|
||||||
$intpairings = array_slice($intpairings, 0 - $cuthighest);
|
$intpairings = array_slice($intpairings, 0, 0 - $cuthighest);
|
||||||
|
|
||||||
foreach ($intpairings as $intkey => $intpairing) {
|
foreach ($intpairings as $intkey => $intpairing) {
|
||||||
|
echo $tiebreak . PHP_EOL;
|
||||||
if (!is_null($intpairing->getOpponent())) {
|
if (!is_null($intpairing->getOpponent())) {
|
||||||
$tiebreak += $intpairing->getOpponent()->getPoints();
|
$tiebreak += $intpairing->getOpponent()->getPoints();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user