check if steam not found

Which also fixes the crash if steam was on login window
This commit is contained in:
Skull 2022-08-04 10:36:43 +03:00
parent 772af52ce3
commit da04969f18

View File

@ -36,6 +36,11 @@ namespace steam_proxy
return;
}
if (!FindWindowA(0, "Steam"))
{
return;
}
this->load_client();
this->clean_up_on_error();