mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-21 22:17:41 +01:00
Added default boardno
This commit is contained in:
parent
db9c205bd1
commit
0902c30f36
@ -760,6 +760,7 @@ class Pairtwo6 implements ReaderInterface
|
||||
$pairing->setRound($x);
|
||||
$offset += 2;
|
||||
|
||||
$pairing->setBoard(-1);
|
||||
if ($x < $this->getBinaryData("CurrentRound")) {
|
||||
$this->getTournament()->addPairing($pairing);
|
||||
}
|
||||
|
@ -473,6 +473,8 @@ class Swar4 implements ReaderInterface
|
||||
break;
|
||||
}
|
||||
$pairing->setColor(new Color($color));
|
||||
|
||||
$pairing->setBoard($this->getTournament()->getBinaryData('Pairing_' . $ptn . '_table'));
|
||||
$ptn++;
|
||||
$this->getTournament()->addPairing($pairing);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user