From 50f379aa919a90685d54314ca4be13ed900a200c Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sun, 6 Dec 2020 15:46:34 -0500 Subject: [PATCH] Fix callback being too fast. --- dll/steam_matchmaking.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dll/steam_matchmaking.h b/dll/steam_matchmaking.h index 3b64c3a..1fe879c 100644 --- a/dll/steam_matchmaking.h +++ b/dll/steam_matchmaking.h @@ -778,8 +778,7 @@ bool SetLobbyData( CSteamID steamIDLobby, const char *pchKey, const char *pchVal if (result->second == std::string(pchValue)) changed = false; (*lobby->mutable_values())[result->first] = pchValue; } - - trigger_lobby_dataupdate(steamIDLobby, steamIDLobby, true, 0.0, changed); + trigger_lobby_dataupdate(steamIDLobby, steamIDLobby, true, 0.01, changed); return true; }