From 2b17095641d2edfd9aaf315dfc4dc109d8dd232f Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Tue, 10 Sep 2019 21:32:44 +0200 Subject: [PATCH] debugging --- src/net/common/servergame.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/net/common/servergame.cpp b/src/net/common/servergame.cpp index eaac7d43..43c4840f 100644 --- a/src/net/common/servergame.cpp +++ b/src/net/common/servergame.cpp @@ -293,6 +293,7 @@ ServerGame::TimerVoteKick(const boost::system::error_code &ec) PlayerDataList ServerGame::InternalStartGame() { + LOG_VERBOSE("InternalStartGame() entered."); // Initialize the game. PlayerDataList playerData(GetFullPlayerDataList()); @@ -346,6 +347,7 @@ ServerGame::InternalStartGame() // @TODO: here to save lastGames with mysql per player //if (GetGameData().gameType == GAME_TYPE_RANKING) + LOG_VERBOSE("before StoreLastGames()."); if(true) StoreLastGames(); @@ -353,6 +355,7 @@ ServerGame::InternalStartGame() GetDatabase().AsyncCreateGame(GetId(), GetName()); InitRankingMap(playerData); } + LOG_VERBOSE("before return."); return playerData; }