Skip to content

Commit

Permalink
Do not relaunch using CommandlineProxy if DetectedCommandline is popu…
Browse files Browse the repository at this point in the history
…lated
  • Loading branch information
WombatFromHell committed Jan 17, 2018
1 parent 392e925 commit b42f02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OriginSteamOverlayLauncher/ProcessTracking.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public void ProcessLauncher(Settings setHnd, IniFile iniHnd)
gameProc = monitorPath.Length > 0 ? GetProcessTreeHandle(setHnd, monitorName) : GetProcessTreeHandle(setHnd, gameName);
gamePID = gameProc != null ? gameProc.Id : 0;

if (setHnd.CommandlineProxy)
if (setHnd.CommandlineProxy && setHnd.DetectedCommandline.Length == 0)
{// relaunch based on detected commandline if the user requests it
var _cmdLine = Program.GetCommandLineToString(gameProc, setHnd.GamePath);
var _storedCmdline = setHnd.DetectedCommandline;
Expand Down

0 comments on commit b42f02b

Please sign in to comment.