Revert "lsteamclient: HACK Do not unset SteamAppId for 'Splitgate: Arena Warfare'."
This reverts commit 57dc9d7062
.
This commit is contained in:
parent
c8486ad372
commit
4e20758255
1 changed files with 1 additions and 4 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue