This commit is contained in:
Kai Philipp
2019-09-11 05:07:51 +02:00
parent ff56a0629b
commit 98ce3c6f95
+2 -2
View File
@@ -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;
}