Skip to content

Commit

Permalink
don't set GAMEID for ulwgl if one is already set via environment vari…
Browse files Browse the repository at this point in the history
…able
  • Loading branch information
GloriousEggroll committed Jan 29, 2024
1 parent 04d99bb commit d3e598b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lutris/runners/wine.py
Expand Up @@ -1088,7 +1088,8 @@ def get_env(self, os_env=False, disable_runtime=False):

# Proton support
if wine_config_version and "Proton" in wine_config_version and "lutris" not in wine_config_version:
env["GAMEID"] = "ULWGL-foo"
if not ("GAMEID" in env):
env["GAMEID"] = "ULWGL-foo"
env["PROTONPATH"] = wine_exe[:wine_exe.index("files/bin")]
return env

Expand Down

0 comments on commit d3e598b

Please sign in to comment.