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