Set absent if table equals 0x4000

This commit is contained in:
Jeroen De Meerleer 2019-09-27 01:06:57 +02:00
parent b5f8a792fa
commit 4b97a57c8f
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -456,6 +456,9 @@ class Swar4 implements ReaderInterface
$result = Result::none; $result = Result::none;
break; break;
} }
if ($this->getTournament()->getBinaryData('Pairing_' . $ptn . '_table') == 16384) {
$result = Result::absent;
}
$pairing->setResult(new Result($result)); $pairing->setResult(new Result($result));
switch ($this->getTournament()->getBinaryData('Pairing_' . $ptn . '_color')) { switch ($this->getTournament()->getBinaryData('Pairing_' . $ptn . '_color')) {