This commit is contained in:
Kai Philipp
2019-09-10 20:54:10 +02:00
parent e1260038ea
commit a667b65a22
+2 -2
View File
@@ -461,8 +461,8 @@ ServerGame::StoreLastGames()
boost::shared_ptr<SessionData> tmpSession = GetSessionManager().GetSessionByUniquePlayerId((*i).second.dbid);
if(tmpSession){
std::vector<long> lastGames = tmpSession->->GetPlayerData()->GetPlayerLastGames();
if(tmpSession.size() > 0){
std::vector<long> lastGames = tmpSession->GetPlayerData()->GetPlayerLastGames();
if(lastGames)
//GetLobbyThread().GetDatabase().SetGamePlayerPlace(GetId(), (*i).second.dbid, lastGames);