2
0
mirror of https://github.com/Thracky/GlosSI.git synced 2024-11-03 09:40:18 +00:00

SteamTarget: Fix "useDesktopConf" setting

This commit is contained in:
Peter Repukat 2018-03-31 17:06:44 +02:00
parent 177038540a
commit 7f5c1ba8ea

View File

@ -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();