mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-12 04:50:01 -08:00
[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:
parent
e44ddc1138
commit
f25990ff03
2 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue