remove test flag

This commit is contained in:
quaK 2023-05-22 22:54:25 +03:00
parent ce7bbb2e88
commit 89eac38823

View File

@ -27,12 +27,6 @@ namespace steam_proxy
nosteam,
error,
};
bool is_disabled()
{
static const auto disabled = utils::flags::has_flag("nosteam");
return disabled;
}
}
class component final : public component_interface
@ -91,6 +85,11 @@ namespace steam_proxy
}
}
component_priority priority() override
{
return component_priority::steam_proxy;
}
const utils::nt::library& get_overlay_module() const
{
return steam_overlay_module_;
@ -170,11 +169,6 @@ namespace steam_proxy
return ownership_state::unowned;
}
if (is_disabled())
{
return ownership_state::success;
}
this->client_utils_.invoke<void>("SetAppIDForCurrentPipe", app_id, false);
char our_directory[MAX_PATH] = { 0 };