Code style fixup

This commit is contained in:
Jeroen De Meerleer 2019-09-28 21:47:24 +02:00
parent 1793817f66
commit 673821b541
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -268,7 +268,7 @@ class Tournament
if (!$this->gameExists($game, $round)) { if (!$this->gameExists($game, $round)) {
$game->setBoard($game->getWhite()->getBoard()); $game->setBoard($game->getWhite()->getBoard());
// Add board if inexistent // Add board if inexistent
if($game->getBoard() == -1) { if ($game->getBoard() == -1) {
if (isset($lastboards[$round])) { if (isset($lastboards[$round])) {
$lastboards[$round] += 1; $lastboards[$round] += 1;
} else { } else {