Tweak some delays to get the game ignite working.
parent
f3e968b54c
commit
0677b8e2ff
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue