mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-14 10:50:13 +01:00
Tweak some delays to get the game ignite working.
This commit is contained in:
parent
f3e968b54c
commit
0677b8e2ff
2 changed files with 3 additions and 3 deletions
|
@ -649,14 +649,14 @@ void Steam_GameServer::RunCallbacks()
|
||||||
if (temp_call_servers_connected) {
|
if (temp_call_servers_connected) {
|
||||||
PRINT_DEBUG("Steam_GameServer::SteamServersConnected_t\n");
|
PRINT_DEBUG("Steam_GameServer::SteamServersConnected_t\n");
|
||||||
SteamServersConnected_t data;
|
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) {
|
if (logged_in && !policy_response_called) {
|
||||||
PRINT_DEBUG("Steam_GameServer::GSPolicyResponse_t\n");
|
PRINT_DEBUG("Steam_GameServer::GSPolicyResponse_t\n");
|
||||||
GSPolicyResponse_t data;
|
GSPolicyResponse_t data;
|
||||||
data.m_bSecure = flags == eServerModeAuthenticationAndSecure;
|
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;
|
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()
|
void Create_pending_lobbies()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue