Skip to content

Commit

Permalink
SteamTarget: Fix "useDesktopConf" setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alia5 committed Mar 31, 2018
1 parent 1770385 commit 7f5c1ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SteamTarget/SteamTarget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ void SteamTarget::init()
readIni();
target_overlay_.init(!enable_overlay_, enable_overlay_only_config_);
initOverlayEvents();
fgwinhook::patchForegroundWindow();
if (!use_desktop_conf_)
fgwinhook::patchForegroundWindow();
controller_thread_ = std::make_unique<VirtualControllerThread>(update_rate_);
if (enable_controllers_)
controller_thread_->run();
Expand Down

0 comments on commit 7f5c1ba

Please sign in to comment.