lsteamclient: HACK Do not unset SteamAppId for 'Splitgate: Arena Warfare'.
CW-Bug-Id: 18924 To be dropped on the next rebase.
This commit is contained in:
parent
751535d863
commit
57dc9d7062
1 changed files with 4 additions and 1 deletions
|
@ -60,9 +60,12 @@ 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)
|
||||
if (GetLastError() == ERROR_ENVVAR_NOT_FOUND
|
||||
&& !((env_str = getenv("SteamAppId")) && !strcmp(env_str, "677620")))
|
||||
{
|
||||
TRACE("unsetenv(\"%s\")\n", steamapi_envs[i]);
|
||||
unsetenv(steamapi_envs[i]);
|
||||
|
|
Loading…
Reference in a new issue