This commit is contained in:
Kai Philipp
2019-09-11 05:09:16 +02:00
parent 98ce3c6f95
commit 9c5a47a5bf
+2 -1
View File
@@ -300,7 +300,7 @@ ServerGame::InternalStartGame()
if (playerData.size() >= 2) {
// Set DB Backend.
//if (GetGameData().gameType == GAME_TYPE_RANKING)
//if (true)
if (true)
m_database = GetLobbyThread().GetDatabase();
else
m_database.reset(new ServerDBNoAction);
@@ -354,6 +354,7 @@ ServerGame::InternalStartGame()
//if (GetGameData().gameType == GAME_TYPE_RANKING)
if(true)
StoreLastGames(playerData);
}
return playerData;
}