mirror of
https://github.com/ValveSoftware/Proton.git
synced 2026-04-20 03:01:58 -04:00
Revert "lsteamclient: HACK Do not unset SteamAppId for 'Splitgate: Arena Warfare'."
This reverts commit 57dc9d7062.
This commit is contained in:
committed by
Arkadiusz Hiler
parent
c8486ad372
commit
4e20758255
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user