Don't try to parse new Steam3 format only present in TF.

This commit is contained in:
Kyle Sanderson
2015-04-03 21:44:18 -07:00
parent bfba2d09ff
commit 78c22072e1
+1 -1
View File
@@ -78,7 +78,7 @@ CSteamID SteamWorks::CreateCommonCSteamID(IGamePlayer *pPlayer, const cell_t *pa
EAccountType type = k_EAccountTypeIndividual;
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);
}