From 78c22072e1581600ffac4197828268fd63840471 Mon Sep 17 00:00:00 2001 From: Kyle Sanderson Date: Fri, 3 Apr 2015 21:44:18 -0700 Subject: [PATCH] Don't try to parse new Steam3 format only present in TF. --- Extension/extension.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/extension.cpp b/Extension/extension.cpp index b049e70..5fc62eb 100644 --- a/Extension/extension.cpp +++ b/Extension/extension.cpp @@ -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); }