Fixing bug with language code.

This commit is contained in:
lotodore committed 2010-04-01 20:33:39 +00:00
1 parent e9b0139e6a
commit 05bdcd1b45
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ struct DBPlayerData
{
DB_id id;
std::string secret;
std::string language;
std::string country;
std::string last_login;
};
+1
View File
@@ -1494,6 +1494,7 @@ ServerLobbyThread::UserValid(unsigned playerId, const DBPlayerData &dbPlayerData
{
SessionWrapper tmpSession = m_sessionManager.GetSessionByUniquePlayerId(playerId, true);
tmpSession.playerData->SetDBId(dbPlayerData.id);
tmpSession.playerData->SetCountry(dbPlayerData.country);
this->AuthChallenge(tmpSession, dbPlayerData.secret);
}