mirror of
https://github.com/lutris/lutris
synced 2024-11-05 18:10:49 +00:00
Only update env if provided
This commit is contained in:
parent
11c3331b31
commit
58c5e0bd85
1 changed files with 2 additions and 1 deletions
|
@ -306,7 +306,8 @@ def wineexec(
|
|||
if overrides:
|
||||
wineenv["WINEDLLOVERRIDES"] = get_overrides_env(overrides)
|
||||
|
||||
wineenv.update(env)
|
||||
if env:
|
||||
wineenv.update(env)
|
||||
|
||||
command_parameters = [wine_path]
|
||||
if executable:
|
||||
|
|
Loading…
Reference in a new issue