diff --git a/src/net/common/servergame.cpp b/src/net/common/servergame.cpp index b451ff4c..5b9d9ba1 100644 --- a/src/net/common/servergame.cpp +++ b/src/net/common/servergame.cpp @@ -299,7 +299,8 @@ ServerGame::InternalStartGame() if (playerData.size() >= 2) { // Set DB Backend. - if (GetGameData().gameType == GAME_TYPE_RANKING) + //if (GetGameData().gameType == GAME_TYPE_RANKING) + //if (true) m_database = GetLobbyThread().GetDatabase(); else m_database.reset(new ServerDBNoAction); @@ -354,7 +355,6 @@ ServerGame::InternalStartGame() if(true) StoreLastGames(playerData); } - LOG_VERBOSE("before return."); return playerData; }