From 9ee23758536890d11e0e50a5ed66496fe7bf9bd3 Mon Sep 17 00:00:00 2001 From: acidicoala Date: Tue, 30 Mar 2021 22:02:01 +0300 Subject: [PATCH] Check for Uplay enabled if launched by Steam --- Unlocker/src/ProcessHooker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Unlocker/src/ProcessHooker.cpp b/Unlocker/src/ProcessHooker.cpp index 5f314b4..77f35e9 100644 --- a/Unlocker/src/ProcessHooker.cpp +++ b/Unlocker/src/ProcessHooker.cpp @@ -154,7 +154,7 @@ void injectIfNecessary(wstring cmdLine, LPPROCESS_INFORMATION lpProcessInformati // Steam->Uplay integration if(contains(wtos(cmdLine), "uplay_steam_mode")) { - if(!config->platformRefs.UplayR1.replicate) + if(config->platformRefs.UplayR1.enabled && !config->platformRefs.UplayR1.replicate) { logger->debug("Skipping injection since Uplay replication is disabled"); return;