[Auth] Only set steamid when not anonymous

This commit is contained in:
momo5502 2017-02-17 14:11:46 +01:00
parent 6e718fc929
commit b7340583fb

View File

@ -86,7 +86,7 @@ namespace Components
return;
}
if(Steam::Proxy::SteamUser_)
if (!Components::Flags::HasFlag("nosteam") && !Dvar::Var("cl_anonymous").get<bool>() && Steam::Proxy::SteamUser_)
{
infostr.set("realsteamId", Utils::String::VA("%llX", Steam::Proxy::SteamUser_->GetSteamID().Bits));
}