mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
minor change
This commit is contained in:
parent
0120d2a019
commit
a86f6ba5b8
2 changed files with 3 additions and 3 deletions
|
|
@ -476,8 +476,8 @@ ResponseCode Server_ProtocolHandler::cmdCreateGame(Command_CreateGame *cmd, Comm
|
|||
gameTypes.append(gameTypeList[i]->getData());
|
||||
|
||||
QString description = cmd->getDescription();
|
||||
if (description.size() > 50)
|
||||
description = description.left(50);
|
||||
if (description.size() > 60)
|
||||
description = description.left(60);
|
||||
Server_Game *game = room->createGame(description, cmd->getPassword(), cmd->getMaxPlayers(), gameTypes, cmd->getOnlyBuddies(), cmd->getOnlyRegistered(), cmd->getSpectatorsAllowed(), cmd->getSpectatorsNeedPassword(), cmd->getSpectatorsCanTalk(), cmd->getSpectatorsSeeEverything(), this);
|
||||
|
||||
Server_Player *creator = game->getPlayers().values().first();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue