check if steam not found
Which also fixes the crash if steam was on login window
This commit is contained in:
parent
7853119110
commit
3e1708bebf
@ -36,6 +36,11 @@ namespace steam_proxy
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!FindWindowA(0, "Steam"))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this->load_client();
|
this->load_client();
|
||||||
this->clean_up_on_error();
|
this->clean_up_on_error();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user