mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-26 05:28:15 +03:00
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
@ -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…
x
Reference in New Issue
Block a user