Don't try to parse new Steam3 format only present in TF.
This commit is contained in:
@@ -78,7 +78,7 @@ CSteamID SteamWorks::CreateCommonCSteamID(IGamePlayer *pPlayer, const cell_t *pa
|
|||||||
EAccountType type = k_EAccountTypeIndividual;
|
EAccountType type = k_EAccountTypeIndividual;
|
||||||
|
|
||||||
const char *pAuth = pPlayer->GetAuthString(false); /* We're not using this for Auth. */
|
const char *pAuth = pPlayer->GetAuthString(false); /* We're not using this for Auth. */
|
||||||
if (pAuth == NULL || pAuth[0] == '\0' || strlen(pAuth) < 11 || pAuth[6] == 'I')
|
if (pAuth == NULL || pAuth[0] == '\0' || pAuth[0] == '[' || strlen(pAuth) < 11 || pAuth[6] == 'I')
|
||||||
{
|
{
|
||||||
return this->CreateCommonCSteamID(pPlayer->GetSteamAccountID(false), params, universeplace, typeplace);
|
return this->CreateCommonCSteamID(pPlayer->GetSteamAccountID(false), params, universeplace, typeplace);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user