From 8b223f6796d03a3c1f3cab73023d915f3ad3a7b9 Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Wed, 11 Sep 2019 04:48:05 +0200 Subject: [PATCH] not sure --- src/net/common/servergame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/common/servergame.cpp b/src/net/common/servergame.cpp index d3606e6c..bcf94e1f 100644 --- a/src/net/common/servergame.cpp +++ b/src/net/common/servergame.cpp @@ -463,9 +463,9 @@ ServerGame::StoreLastGames(const PlayerDataList &playerDataList) LOG_ERROR("TimeStamp stored: " << tmpPlayer->GetPlayerLastGames().back()); std::vector 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; } }