From 0677b8e2ffd3f02020eff33fba39d873aaba2f24 Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sun, 14 Jul 2019 16:25:16 -0400 Subject: [PATCH] Tweak some delays to get the game ignite working. --- dll/steam_gameserver.cpp | 4 ++-- dll/steam_matchmaking.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dll/steam_gameserver.cpp b/dll/steam_gameserver.cpp index c8eb202..ef7f287 100644 --- a/dll/steam_gameserver.cpp +++ b/dll/steam_gameserver.cpp @@ -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; } diff --git a/dll/steam_matchmaking.h b/dll/steam_matchmaking.h index e822da7..0771818 100644 --- a/dll/steam_matchmaking.h +++ b/dll/steam_matchmaking.h @@ -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() {