From 85fbdbd0829e04b0bed65e5acab78690b3651bf1 Mon Sep 17 00:00:00 2001 From: OneFourOne <71578430+OneFourOne@users.noreply.github.com> Date: Thu, 17 Dec 2020 09:38:11 -0500 Subject: [PATCH] [Proxy] Fix steam proxy --- src/Steam/Proxy.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Steam/Proxy.cpp b/src/Steam/Proxy.cpp index d8f72b48..1458972f 100644 --- a/src/Steam/Proxy.cpp +++ b/src/Steam/Proxy.cpp @@ -10,6 +10,8 @@ namespace Steam Interface Proxy::ClientUser; Interface Proxy::ClientFriends; + Interface Proxy::Placeholder; + Proxy::Handle Proxy::SteamPipe = nullptr; Proxy::Handle Proxy::SteamUser = nullptr; @@ -415,6 +417,9 @@ namespace Steam Proxy::ClientUser = Proxy::ClientEngine->GetIClientUser(Proxy::SteamUser, Proxy::SteamPipe); if (!Proxy::ClientUser) return false; + //temporary fix required since Steam runtime update v0.20201203.1 (an additional function was added by steam) + Proxy::Placeholder = Proxy::ClientEngine->Placeholder(0); + Proxy::ClientFriends = Proxy::ClientEngine->GetIClientFriends(Proxy::SteamUser, Proxy::SteamPipe); if (!Proxy::ClientFriends) return false;