minor issue

This commit is contained in:
Kai Philipp
2019-09-11 14:07:24 +02:00
parent f4b1d7a5f3
commit 7cda99e881
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -466,7 +466,7 @@ ServerGame::StoreLastGames(const PlayerDataList &playerDataList)
LOG_ERROR("Ready for storing vector for player " << tmpPlayer->GetUniqueId() << " - lastGameTs " << lastGames.back());
if(tmpPlayer->GetUniqueId() != DB_ID_INVALID){
LOG_ERROR("ID != DB_ID_INVALID ... calling SetPlayerLastGames()...");
GetDatabase().SetPlayerLastGames(GetId(), tmpPlayer->GetUniqueId(), lastGames);
GetDatabase().SetPlayerLastGames(GetId(), tmpPlayer->GetDBId(), lastGames);
}
++i;
}