Skip to content

Commit 6a4c6d7

Browse files
committed
Added gamenumber
1 parent 285b08f commit 6a4c6d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/lib/src/tournament.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ void Tournament::startGame(TournamentPair* pair)
592592
game->pgn()->setSite(m_site);
593593

594594
const int gpr = gamesPerRound();
595-
const int gameNo = gpr ? m_nextGameNumber % gpr + 1 : 0;
595+
const int gameNo = gpr ? m_nextGameNumber % gpr + 1 : m_nextGameNumber + 1;
596596
game->pgn()->setRound(m_round, gameNo);
597597

598598
game->setStartDelay(m_startDelay);

0 commit comments

Comments
 (0)