[Server] Adapt tournament engine to the shared settings message

- read games per match from Command_CreateGame.tournament_settings after the
  proto rework replaced the standalone games_per_match field
- use qWarning to match the surrounding file
This commit is contained in:
Lukas Brübach 2026-09-02 09:47:27 +02:00
parent e44ddc1138
commit f25990ff03
2 changed files with 3 additions and 2 deletions

View file

@ -1063,7 +1063,7 @@ void Server_Game::startTournament()
// A tournament with fewer than two players can't produce a valid bracket.
if (tournament->getPlayerCount() < 2) {
qCWarning() << "Cannot start tournament with fewer than 2 players";
qWarning() << "Cannot start tournament with fewer than 2 players";
return;
}