not sure
This commit is contained in:
1 parent
86e348ed94
commit
8b223f6796
1 file changed
+2
-2
@@ -463,9 +463,9 @@ ServerGame::StoreLastGames(const PlayerDataList &playerDataList)
|
||||
LOG_ERROR("TimeStamp stored: " << tmpPlayer->GetPlayerLastGames().back());
|
||||
std::vector<long> lastGames = tmpPlayer->GetPlayerLastGames();
|
||||
LOG_ERROR("Ready for storing vector for player " << tmpPlayer->GetUniqueId() << " - lastGameTs " << lastGames.back());
|
||||
if(tmpPlayer->GetUniqueId() != DB_ID_INVALID){
|
||||
//if(tmpPlayer->GetUniqueId() != DB_ID_INVALID){
|
||||
GetDatabase().SetPlayerLastGames(GetId(), tmpPlayer->GetUniqueId(), lastGames);
|
||||
}
|
||||
//}
|
||||
++i;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user