Respect nosteam mode

This commit is contained in:
momo5502 2022-09-26 19:00:22 +02:00
parent bef4ec67b6
commit bd8a524e3a

View File

@ -169,6 +169,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};