Better way to check if pairing is dummy
This commit is contained in:
parent
7a3c754b7a
commit
a6da359446
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue