Fix "sender id" and "ip address" fields in game

This commit is contained in:
Fabio Bas
2015-01-01 16:20:57 +01:00
parent cd69bc8f9d
commit 925b4a83b0
2 changed files with 2 additions and 2 deletions

View File

@@ -436,7 +436,7 @@ void Server_Game::addPlayer(Server_AbstractUserInterface *userInterface, Respons
{
QMutexLocker locker(&gameMutex);
Server_Player *newPlayer = new Server_Player(this, nextPlayerId++, userInterface->copyUserInfo(true, true), spectator, userInterface);
Server_Player *newPlayer = new Server_Player(this, nextPlayerId++, userInterface->copyUserInfo(true, true, true), spectator, userInterface);
newPlayer->moveToThread(thread());
Event_Join joinEvent;