Fix callback being too fast.

This commit is contained in:
Mr_Goldberg 2020-12-06 15:46:34 -05:00
parent e297347c07
commit 50f379aa91
No known key found for this signature in database
GPG Key ID: 8597D87419DEF278

View File

@ -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;
}