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:
parent
c6cfed27d9
commit
56f9a9a436
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user