mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 19:43:55 -07:00
Reduce the whitespace in the server game constructor.
This commit is contained in:
parent
bd39d60388
commit
843cd9718e
1 changed files with 81 additions and 81 deletions
|
|
@ -56,7 +56,6 @@ Server_Game::Server_Game(const ServerInfo_User &_creatorInfo, int _gameId, const
|
||||||
gameStarted(false),
|
gameStarted(false),
|
||||||
gameClosed(false),
|
gameClosed(false),
|
||||||
gameId(_gameId),
|
gameId(_gameId),
|
||||||
description(_description),
|
|
||||||
password(_password),
|
password(_password),
|
||||||
maxPlayers(_maxPlayers),
|
maxPlayers(_maxPlayers),
|
||||||
gameTypes(_gameTypes),
|
gameTypes(_gameTypes),
|
||||||
|
|
@ -77,6 +76,7 @@ Server_Game::Server_Game(const ServerInfo_User &_creatorInfo, int _gameId, const
|
||||||
{
|
{
|
||||||
currentReplay = new GameReplay;
|
currentReplay = new GameReplay;
|
||||||
currentReplay->set_replay_id(room->getServer()->getDatabaseInterface()->getNextReplayId());
|
currentReplay->set_replay_id(room->getServer()->getDatabaseInterface()->getNextReplayId());
|
||||||
|
description = _description.simplified();
|
||||||
|
|
||||||
connect(this, SIGNAL(sigStartGameIfReady()), this, SLOT(doStartGameIfReady()), Qt::QueuedConnection);
|
connect(this, SIGNAL(sigStartGameIfReady()), this, SLOT(doStartGameIfReady()), Qt::QueuedConnection);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue