This commit is contained in:
Kai Philipp
2019-09-13 18:38:02 +02:00
parent cfced4e480
commit eedd9c0526
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1821,7 +1821,7 @@ LOG_ERROR("last_games from db = " << dbPlayerData.last_games);
ss.ignore();
}
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);
}
}
+2 -1
View File
@@ -250,7 +250,8 @@ void
PlayerData::SetPlayerLastGames(std::vector<long> last_games)
{
boost::mutex::scoped_lock lock(m_dataMutex);
m_last_games = last_games;
m_last_games.clear();
//m_last_games = last_games;
}
void