bugfix
This commit is contained in:
@@ -461,8 +461,8 @@ ServerGame::StoreLastGames()
|
|||||||
boost::shared_ptr<SessionData> tmpSession = GetSessionManager().GetSessionByUniquePlayerId((*i).second.dbid);
|
boost::shared_ptr<SessionData> tmpSession = GetSessionManager().GetSessionByUniquePlayerId((*i).second.dbid);
|
||||||
|
|
||||||
|
|
||||||
if(tmpSession){
|
if(tmpSession.size() > 0){
|
||||||
std::vector<long> lastGames = tmpSession->->GetPlayerData()->GetPlayerLastGames();
|
std::vector<long> lastGames = tmpSession->GetPlayerData()->GetPlayerLastGames();
|
||||||
|
|
||||||
if(lastGames)
|
if(lastGames)
|
||||||
//GetLobbyThread().GetDatabase().SetGamePlayerPlace(GetId(), (*i).second.dbid, lastGames);
|
//GetLobbyThread().GetDatabase().SetGamePlayerPlace(GetId(), (*i).second.dbid, lastGames);
|
||||||
|
|||||||
Reference in New Issue
Block a user