bugfix
This commit is contained in:
@@ -1821,7 +1821,7 @@ LOG_ERROR("last_games from db = " << dbPlayerData.last_games);
|
|||||||
ss.ignore();
|
ss.ignore();
|
||||||
}
|
}
|
||||||
tmpSession->GetPlayerData()->SetPlayerLastGames(last_games);
|
tmpSession->GetPlayerData()->SetPlayerLastGames(last_games);
|
||||||
//LOG_ERROR("last_games first from vector after db = " << tmpSession->GetPlayerData()->GetPlayerLastGames().back());
|
LOG_ERROR("last_games first from vector after db = " << tmpSession->GetPlayerData()->GetPlayerLastGames().back());
|
||||||
this->AuthChallenge(tmpSession, dbPlayerData.secret);
|
this->AuthChallenge(tmpSession, dbPlayerData.secret);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -250,7 +250,8 @@ void
|
|||||||
PlayerData::SetPlayerLastGames(std::vector<long> last_games)
|
PlayerData::SetPlayerLastGames(std::vector<long> last_games)
|
||||||
{
|
{
|
||||||
boost::mutex::scoped_lock lock(m_dataMutex);
|
boost::mutex::scoped_lock lock(m_dataMutex);
|
||||||
m_last_games = last_games;
|
m_last_games.clear();
|
||||||
|
//m_last_games = last_games;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user