minor change
This commit is contained in:
parent
0120d2a019
commit
a86f6ba5b8
2 changed files with 3 additions and 3 deletions
|
@ -144,7 +144,7 @@ void MessageLogWidget::logSay(Player *player, QString message)
|
|||
|
||||
void MessageLogWidget::logSpectatorSay(QString spectatorName, QString message)
|
||||
{
|
||||
myAppend(QString("<font color=\"red\">%1:</font> %2").arg(sanitizeHtml(spectatorName)).arg(sanitizeHtml(message)));
|
||||
appendMessage(spectatorName, message, QColor(), false);
|
||||
}
|
||||
|
||||
void MessageLogWidget::logShuffle(Player *player, CardZone *zone)
|
||||
|
|
|
@ -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…
Reference in a new issue