Skip to content

Commit

Permalink
BUGFIX: Forfait did not return not played
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenED committed Sep 27, 2019
1 parent 5350b75 commit 32af067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Readers/Swar4.php
Expand Up @@ -455,7 +455,7 @@ public function read(string $filename): ReaderInterface
$result = Result::none;
break;
}
if ($this->getTournament()->getBinaryData('Pairing_' . $ptn . '_table') == 16384) {
if (array_search($this->getTournament()->getBinaryData('Pairing_' . $ptn . '_table'), [ 16384, 8192 ]) !== false) {
$result = Result::absent;
}
$pairing->setResult(new Result($result));
Expand Down

0 comments on commit 32af067

Please sign in to comment.