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
1 changed files with 3 additions and 0 deletions

View File

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