mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-03-16 07:20:28 +03:00
Revert "lsteamclient: HACK Do not unset SteamAppId for 'Splitgate: Arena Warfare'."
This reverts commit 57dc9d706222ee68e502fcc53b2ff04427983a05.
This commit is contained in:
parent
0f50e49b85
commit
9defdf97b8
@ -59,12 +59,9 @@ void sync_environment(void)
|
|||||||
|
|
||||||
for (unsigned int i = 0; i < ARRAY_SIZE(steamapi_envs); i++)
|
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 (!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]);
|
TRACE("unsetenv(\"%s\")\n", steamapi_envs[i]);
|
||||||
unsetenv(steamapi_envs[i]);
|
unsetenv(steamapi_envs[i]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user