From 5b7e4d17e0331196eaedc2358ca5600706cde834 Mon Sep 17 00:00:00 2001 From: Maria Keating Date: Mon, 28 Mar 2022 20:24:24 +0800 Subject: [PATCH] Fixes unencrypted arguments passed to the game executable. Currently, the launcher dumps gameArgs without spaces, resulting in a buggy launch. --- src/launchercore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/launchercore.cpp b/src/launchercore.cpp index 5c85270..5817832 100755 --- a/src/launchercore.cpp +++ b/src/launchercore.cpp @@ -159,7 +159,7 @@ void LauncherCore::launchGame(const ProfileSettings& profile, const LoginAuth au }); } - const QString argFormat = profile.encryptArguments ? " /%1 =%2" : "%1=%2"; + const QString argFormat = profile.encryptArguments ? " /%1 =%2" : " %1=%2"; QString argJoined; for(const auto& arg : gameArgs) {