Revert "lsteamclient: HACK Do not unset SteamAppId for 'Splitgate: Arena Warfare'."

This reverts commit 57dc9d7062.
This commit is contained in:
Paul Gofman 2022-04-09 02:07:52 +03:00 committed by Arkadiusz Hiler
parent c8486ad372
commit 4e20758255

View file

@ -59,12 +59,9 @@ void sync_environment(void)
for (unsigned int i = 0; i < ARRAY_SIZE(steamapi_envs); i++)
{
const char *env_str;
if (!GetEnvironmentVariableA(steamapi_envs[i], value, ARRAY_SIZE(value)))
{
if (GetLastError() == ERROR_ENVVAR_NOT_FOUND
&& !((env_str = getenv("SteamAppId")) && !strcmp(env_str, "677620")))
if (GetLastError() == ERROR_ENVVAR_NOT_FOUND)
{
TRACE("unsetenv(\"%s\")\n", steamapi_envs[i]);
unsetenv(steamapi_envs[i]);