Disable avatars on server side until the bug is fixed.
This commit is contained in:
1 parent
e5f05c5359
commit
ec5196c417
1 file changed
+2
-2
@@ -380,8 +380,8 @@ ServerLobbyThread::HandleNetPacketInit(SessionWrapper session, const NetPacketIn
|
|||||||
new PlayerData(GetNextUniquePlayerId(), 0, PLAYER_TYPE_HUMAN, PLAYER_RIGHTS_NORMAL));
|
new PlayerData(GetNextUniquePlayerId(), 0, PLAYER_TYPE_HUMAN, PLAYER_RIGHTS_NORMAL));
|
||||||
tmpPlayerData->SetName(initData.playerName);
|
tmpPlayerData->SetName(initData.playerName);
|
||||||
tmpPlayerData->SetNetSessionData(session.sessionData);
|
tmpPlayerData->SetNetSessionData(session.sessionData);
|
||||||
if (initData.showAvatar)
|
// if (initData.showAvatar)
|
||||||
tmpPlayerData->SetAvatarMD5(initData.avatar);
|
// tmpPlayerData->SetAvatarMD5(initData.avatar);
|
||||||
|
|
||||||
// Set player data for session.
|
// Set player data for session.
|
||||||
m_sessionManager.SetSessionPlayerData(session.sessionData->GetId(), tmpPlayerData);
|
m_sessionManager.SetSessionPlayerData(session.sessionData->GetId(), tmpPlayerData);
|
||||||
|
|||||||
Reference in new issue
Block a user