revert bugfix
This commit is contained in:
@@ -453,12 +453,11 @@ ServerGame::StoreLastGames()
|
|||||||
{
|
{
|
||||||
// Store players lastgames in database.
|
// Store players lastgames in database.
|
||||||
|
|
||||||
PlayerIdList plist = GetPlayerIdList();
|
RankingMap::const_iterator i = m_rankingMap.begin();
|
||||||
|
RankingMap::const_iterator end = m_rankingMap.end();
|
||||||
RankingMap::const_iterator i = plist.info.players.begin();
|
LOG_VERBOSE("StoreLastGames() entered.");
|
||||||
RankingMap::const_iterator end = plist.info.players.end();
|
|
||||||
while (i != end) {
|
while (i != end) {
|
||||||
|
LOG_VERBOSE("iterating m_rankingMap ... userId " << (*i).second.dbid);
|
||||||
boost::shared_ptr<SessionData> tmpSession = GetSessionManager().GetSessionByUniquePlayerId((*i).second.dbid);
|
boost::shared_ptr<SessionData> tmpSession = GetSessionManager().GetSessionByUniquePlayerId((*i).second.dbid);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user