mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-12-22 04:11:22 +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