Update the missed steamid nullcheck in clientprefs
This commit is contained in:
parent
96fbb7ecda
commit
6d7115d62f
@ -396,7 +396,7 @@ void ClientPrefs::CatchLateLoadClients()
|
|||||||
|
|
||||||
/* For legacy reasons, OnClientAuthorized gives the Steam2 id here if using Steam auth */
|
/* For legacy reasons, OnClientAuthorized gives the Steam2 id here if using Steam auth */
|
||||||
const char *steamId = pPlayer->GetSteam2Id();
|
const char *steamId = pPlayer->GetSteam2Id();
|
||||||
g_CookieManager.OnClientAuthorized(i, steamId[0] ? steamId : pPlayer->GetAuthString());
|
g_CookieManager.OnClientAuthorized(i, steamId ? steamId : pPlayer->GetAuthString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user