debugging

This commit is contained in:
Kai Philipp
2019-09-10 21:32:44 +02:00
parent 8f61128714
commit 2b17095641
+3
View File
@@ -293,6 +293,7 @@ ServerGame::TimerVoteKick(const boost::system::error_code &ec)
PlayerDataList PlayerDataList
ServerGame::InternalStartGame() ServerGame::InternalStartGame()
{ {
LOG_VERBOSE("InternalStartGame() entered.");
// Initialize the game. // Initialize the game.
PlayerDataList playerData(GetFullPlayerDataList()); PlayerDataList playerData(GetFullPlayerDataList());
@@ -346,6 +347,7 @@ ServerGame::InternalStartGame()
// @TODO: here to save lastGames with mysql per player // @TODO: here to save lastGames with mysql per player
//if (GetGameData().gameType == GAME_TYPE_RANKING) //if (GetGameData().gameType == GAME_TYPE_RANKING)
LOG_VERBOSE("before StoreLastGames().");
if(true) if(true)
StoreLastGames(); StoreLastGames();
@@ -353,6 +355,7 @@ ServerGame::InternalStartGame()
GetDatabase().AsyncCreateGame(GetId(), GetName()); GetDatabase().AsyncCreateGame(GetId(), GetName());
InitRankingMap(playerData); InitRankingMap(playerData);
} }
LOG_VERBOSE("before return.");
return playerData; return playerData;
} }