mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix online clan friends not being removable via UI
This commit is contained in:
parent
06fe73619e
commit
ef7a8d6cc6
|
@ -1645,7 +1645,7 @@ void CMenus::RenderServerbrowserFriends(CUIRect View)
|
|||
|
||||
void CMenus::PopupConfirmRemoveFriend()
|
||||
{
|
||||
m_pClient->Friends()->RemoveFriend(m_pRemoveFriend->Name(), m_pRemoveFriend->Clan());
|
||||
m_pClient->Friends()->RemoveFriend(m_pRemoveFriend->FriendState() == IFriends::FRIEND_PLAYER ? m_pRemoveFriend->Name() : "", m_pRemoveFriend->Clan());
|
||||
FriendlistOnUpdate();
|
||||
Client()->ServerBrowserUpdate();
|
||||
m_pRemoveFriend = nullptr;
|
||||
|
|
Loading…
Reference in a new issue