Skip to content

Commit

Permalink
Check for Uplay enabled if launched by Steam
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicoala committed Mar 30, 2021
1 parent f824d5f commit 9ee2375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Unlocker/src/ProcessHooker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9ee2375

Please sign in to comment.