Respect nosteam mode

This commit is contained in:
FragsAreUs 2022-09-26 16:02:55 -04:00
parent f48a895b0f
commit d83428ff0f

View File

@ -170,6 +170,11 @@ namespace steam_proxy
return ownership_state::unowned; return ownership_state::unowned;
} }
if (is_disabled())
{
return ownership_state::success;
}
this->client_utils_.invoke<void>("SetAppIDForCurrentPipe", app_id, false); this->client_utils_.invoke<void>("SetAppIDForCurrentPipe", app_id, false);
char our_directory[MAX_PATH] = { 0 }; char our_directory[MAX_PATH] = { 0 };