Tweak some delays to get the game ignite working.

This commit is contained in:
Mr_Goldberg 2019-07-14 16:25:16 -04:00
parent f3e968b54c
commit 0677b8e2ff
No known key found for this signature in database
GPG Key ID: 8597D87419DEF278
2 changed files with 3 additions and 3 deletions

View File

@ -649,14 +649,14 @@ void Steam_GameServer::RunCallbacks()
if (temp_call_servers_connected) {
PRINT_DEBUG("Steam_GameServer::SteamServersConnected_t\n");
SteamServersConnected_t data;
callbacks->addCBResult(data.k_iCallback, &data, sizeof(data));
callbacks->addCBResult(data.k_iCallback, &data, sizeof(data), 0.1);
}
if (logged_in && !policy_response_called) {
PRINT_DEBUG("Steam_GameServer::GSPolicyResponse_t\n");
GSPolicyResponse_t data;
data.m_bSecure = flags == eServerModeAuthenticationAndSecure;
callbacks->addCBResult(data.k_iCallback, &data, sizeof(data));
callbacks->addCBResult(data.k_iCallback, &data, sizeof(data), 0.11);
policy_response_called = true;
}

View File

@ -521,7 +521,7 @@ static bool leave_lobby(Lobby *lobby, CSteamID id)
}
#define LOBBY_CREATE_DELAY 0.1 //artificial delay for lobby creation
#define LOBBY_CREATE_DELAY 0.07 //artificial delay for lobby creation
void Create_pending_lobbies()
{