ENHANCEMENT: check current round of pairing instead data to check dummy

This commit is contained in:
Jeroen De Meerleer 2019-05-11 15:36:27 +02:00
parent 90a199b438
commit 784e54b55b

View File

@ -621,7 +621,7 @@ class Sws extends SwsModel
$pairing->setRound($x); $pairing->setRound($x);
$offset += 2; $offset += 2;
if (!($result == Result::none && $opponent == 0)) { if ($x < $sws->getBinaryData("CurrentRound")) {
$sws->getTournament()->addPairing($pairing); $sws->getTournament()->addPairing($pairing);
} }
} }