Only log ranking games in db.
This commit is contained in:
@@ -270,7 +270,8 @@ ServerGame::InternalStartGame()
|
||||
m_game.reset(new Game(&gui, factory, playerData, GetGameData(), GetStartData(), GetNextGameNum()));
|
||||
|
||||
GetLobbyThread().NotifyStartingGame(GetId());
|
||||
GetLobbyThread().GetDatabase().AsyncCreateGame(GetId(), GetName());
|
||||
if (GetGameData().gameType == GAME_TYPE_RANKING)
|
||||
GetLobbyThread().GetDatabase().AsyncCreateGame(GetId(), GetName());
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user