From 858d2f98e6136b362a9657b33e507f9e4e8244ce Mon Sep 17 00:00:00 2001 From: derrod Date: Tue, 18 Jan 2022 16:11:07 +0100 Subject: [PATCH] [cli] Move user parameters before EGL parameters Some games appear to fail parsing the command line correctly otherwise. --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index e7700a2..4d98b0e 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -637,8 +637,8 @@ class LegendaryCLI: full_params.extend(params.launch_command) full_params.append(os.path.join(params.game_directory, params.game_executable)) full_params.extend(params.game_parameters) - full_params.extend(params.egl_parameters) full_params.extend(params.user_parameters) + full_params.extend(params.egl_parameters) # Copying existing env vars is required on Windows, probably a good idea on Linux full_env = os.environ.copy() full_env.update(params.environment)