diff --git a/src/client/component/steam_proxy.cpp b/src/client/component/steam_proxy.cpp index 935dbcb..64c1fdd 100644 --- a/src/client/component/steam_proxy.cpp +++ b/src/client/component/steam_proxy.cpp @@ -72,14 +72,14 @@ namespace steam_proxy } } - [[nodiscard]] const utils::nt::library& get_overlay_module() const - { - return steam_overlay_module_; - } + // [[nodiscard]] const utils::nt::library& get_overlay_module() const + // { + // return steam_overlay_module_; + // } private: utils::nt::library steam_client_module_{}; - utils::nt::library steam_overlay_module_{}; + // utils::nt::library steam_overlay_module_{}; steam::interface client_engine_{}; steam::interface client_user_{}; @@ -109,7 +109,7 @@ namespace steam_proxy utils::nt::library::load(steam_path / "tier0_s64.dll"); utils::nt::library::load(steam_path / "vstdlib_s64.dll"); - this->steam_overlay_module_ = utils::nt::library::load(steam_path / "gameoverlayrenderer64.dll"); + // this->steam_overlay_module_ = utils::nt::library::load(steam_path / "gameoverlayrenderer64.dll"); this->steam_client_module_ = utils::nt::library::load(steam_path / "steamclient64.dll"); if (!this->steam_client_module_) return; diff --git a/src/client/steam/steam.cpp b/src/client/steam/steam.cpp index e03f569..d485400 100644 --- a/src/client/steam/steam.cpp +++ b/src/client/steam/steam.cpp @@ -82,13 +82,14 @@ namespace steam result_handlers_[result.call]->run(result.data, false, result.call); } - for (const auto& callback : callback_list_) + // small chance of a crash when exiting lobby menus (INVALID_POINTER_READ) + /* for (const auto& callback : callback_list_) { if (callback && callback->get_i_callback() == result.type) { callback->run(result.data, false, 0); } - } + }*/ if (result.data) { @@ -165,7 +166,6 @@ namespace steam return install_path.data(); } - bool SteamGameServer_Init() { return true; @@ -179,7 +179,6 @@ namespace steam { } - friends* SteamFriends() { static friends friends;