mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-21 22:17:41 +01:00
Merge branch 'task/no-objects-of-not-a-pairing' into develop
This commit is contained in:
commit
d888e94d07
@ -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
Block a user