BUGFIX: Absent and Forfait were not read properly since getBoard()

Note to self: never push commits during SM-session. NEVER!
This commit is contained in:
Jeroen De Meerleer 2019-10-26 14:24:28 +02:00
parent bd0e99cc06
commit 8a0fd88b55
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -455,7 +455,7 @@ class Swar4 implements ReaderInterface
$result = Result::None;
break;
}
if (array_search($this->getTournament()->getBinaryData('Pairing_' . $ptn . '_table'), [ 16384, 8192 ]) !== false) {
if (array_search($this->getTournament()->getBinaryData('Pairing_' . $ptn . '_table'), [ 16383, 8191 ]) !== false) {
$result = Result::Absent;
}
$pairing->setResult(new Result($result));