mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-22 06:26:57 +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);
|
$pairing->setRound($x);
|
||||||
$offset += 2;
|
$offset += 2;
|
||||||
|
|
||||||
|
$pairing->setBoard(-1);
|
||||||
if ($x < $this->getBinaryData("CurrentRound")) {
|
if ($x < $this->getBinaryData("CurrentRound")) {
|
||||||
$this->getTournament()->addPairing($pairing);
|
$this->getTournament()->addPairing($pairing);
|
||||||
}
|
}
|
||||||
|
@ -473,6 +473,8 @@ class Swar4 implements ReaderInterface
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$pairing->setColor(new Color($color));
|
$pairing->setColor(new Color($color));
|
||||||
|
|
||||||
|
$pairing->setBoard($this->getTournament()->getBinaryData('Pairing_' . $ptn . '_table'));
|
||||||
$ptn++;
|
$ptn++;
|
||||||
$this->getTournament()->addPairing($pairing);
|
$this->getTournament()->addPairing($pairing);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user