From f91276e01a796fff23a6c672aca03f24a688fc50 Mon Sep 17 00:00:00 2001 From: Cvolton Date: Mon, 8 Jul 2024 12:10:32 +0200 Subject: [PATCH] fix follow list granting friends achievements --- src/hooks/FriendsProfilePage.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hooks/FriendsProfilePage.cpp b/src/hooks/FriendsProfilePage.cpp index c24dcd2..b1998cb 100644 --- a/src/hooks/FriendsProfilePage.cpp +++ b/src/hooks/FriendsProfilePage.cpp @@ -38,6 +38,8 @@ class BI_DLL $modify(BIFriendsProfilePage, FriendsProfilePage) { } void setFollowList() { + m_type = UserListType::Blocked; + auto GLM = GameLevelManager::sharedState(); auto BICache = BetterInfoCache::sharedState(); @@ -61,7 +63,7 @@ class BI_DLL $modify(BIFriendsProfilePage, FriendsProfilePage) { followedCreatorsArray.push_back(score); } - getUserListFinished(followedCreatorsArray.inner(), UserListType::Friends); + getUserListFinished(followedCreatorsArray.inner(), UserListType::Blocked); m_fields->m_isFollowed = true; m_totalFriends->setString(fmt::format("Total Followed: {}", followedCreatorsArray.size()).c_str());