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

fix: trying to permanently unhook steam when overlaywindow is not found

This commit is contained in:
Peter Repukat 2016-11-29 18:40:47 +01:00
parent c6cfed27d9
commit 56f9a9a436

View File

@ -111,10 +111,9 @@ void GloSC_GameLauncher::checkSharedMem()
sharedMemInstance.unlock();
if (FindWindow(NULL, L"GloSC_OverlayWindow") == NULL)
if (bHookedSteam && FindWindow(NULL, L"GloSC_OverlayWindow") == NULL)
{
unhookBindings();
bHookedSteam = false;
}
}