Make auth stuff behave more like real steam.

This commit is contained in:
Mr_Goldberg 2019-07-15 10:07:34 -04:00
parent 0677b8e2ff
commit e252f83e8a
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
3 changed files with 22 additions and 11 deletions

View file

@ -760,7 +760,7 @@ const char *GetLobbyData( CSteamID steamIDLobby, const char *pchKey )
// other users in the lobby will receive notification of the lobby data change via a LobbyDataUpdate_t callback
bool SetLobbyData( CSteamID steamIDLobby, const char *pchKey, const char *pchValue )
{
PRINT_DEBUG("SetLobbyData %s %s\n", pchKey, pchValue);
PRINT_DEBUG("SetLobbyData %llu %s %s\n", steamIDLobby.ConvertToUint64(), pchKey, pchValue);
if (!pchKey) return false;
char empty_string[] = "";
if (!pchValue) pchValue = empty_string;