diff --git a/src/Components/Modules/Party.cpp b/src/Components/Modules/Party.cpp index a5798d65..62e6f5c7 100644 --- a/src/Components/Modules/Party.cpp +++ b/src/Components/Modules/Party.cpp @@ -93,10 +93,6 @@ namespace Components Party::LobbyMap[id.Bits] = Party::Container.Target; Game::Steam_JoinLobby(id, 0); - - // Callback not registered on first try - // TODO: Fix :D - if (Party::LobbyMap.size() <= 1) Game::Steam_JoinLobby(id, 0); } void Party::PlaylistError(std::string error) diff --git a/src/Steam/Interfaces/SteamUser.cpp b/src/Steam/Interfaces/SteamUser.cpp index 56749fec..360d8c59 100644 --- a/src/Steam/Interfaces/SteamUser.cpp +++ b/src/Steam/Interfaces/SteamUser.cpp @@ -97,6 +97,6 @@ namespace Steam unsigned int User::UserHasLicenseForApp(SteamID steamID, unsigned int appID) { - return 1; + return 0; } } diff --git a/src/Steam/Steam.cpp b/src/Steam/Steam.cpp index b09915fc..626a48d9 100644 --- a/src/Steam/Steam.cpp +++ b/src/Steam/Steam.cpp @@ -12,8 +12,8 @@ namespace Steam uint64_t Callbacks::RegisterCall() { - Callbacks::Calls[Callbacks::CallID] = false; - return Callbacks::CallID++; + Callbacks::Calls[++Callbacks::CallID] = false; + return Callbacks::CallID; } void Callbacks::RegisterCallback(Callbacks::Base* handler, int callback)