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
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;
}