debugging
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user