mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-21 22:17:41 +01:00
set board zerobased
This commit is contained in:
parent
0902c30f36
commit
1708a54d0a
@ -405,7 +405,7 @@ class Swar4 implements ReaderInterface
|
||||
for ($j = 0; $j < $player->getBinaryData('AllocatedRounds'); $j++) {
|
||||
$this->getTournament()->setBinaryData('Pairing_' . $pt . '_player', $i);
|
||||
$this->getTournament()->setBinaryData('Pairing_' . $pt . '_round', $this->readData('Int', $swshandle) - 1);
|
||||
$this->getTournament()->setBinaryData('Pairing_' . $pt . '_table', $this->readData('Int', $swshandle));
|
||||
$this->getTournament()->setBinaryData('Pairing_' . $pt . '_table', $this->readData('Int', $swshandle) - 1);
|
||||
$this->getTournament()->setBinaryData('Pairing_' . $pt . '_opponent', $this->readData('Int', $swshandle));
|
||||
$this->getTournament()->setBinaryData('Pairing_' . $pt . '_result', $this->readData('Hex', $swshandle));
|
||||
$this->getTournament()->setBinaryData('Pairing_' . $pt . '_color', $this->readData('Int', $swshandle));
|
||||
|
Loading…
Reference in New Issue
Block a user