From 784e54b55bcdf9fd25e3b6d6ff1435dc01bb5f5e Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Sat, 11 May 2019 15:36:27 +0200 Subject: [PATCH] ENHANCEMENT: check current round of pairing instead data to check dummy --- src/Sws.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sws.php b/src/Sws.php index 4aa9f98..4c242ba 100644 --- a/src/Sws.php +++ b/src/Sws.php @@ -621,7 +621,7 @@ class Sws extends SwsModel $pairing->setRound($x); $offset += 2; - if (!($result == Result::none && $opponent == 0)) { + if ($x < $sws->getBinaryData("CurrentRound")) { $sws->getTournament()->addPairing($pairing); } }